delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/09/12/18:07:03

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E3163858433
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1631484421;
bh=TVjNLDiQn6E4zBt0RiRO+oRy6es5bioNLhtaGb4GWyw=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=xqQzQnOKBj7feQIvLXAscUiHRvticdQHwhaD6YbBUgGJnNc6q6r9YDhUy1L0Eog0+
SUcXoaViYURArkc3oNBvPxuX5p8dMCzaLbnrPsx7VkwlTVYdGQvxIAFGBjgmQM13hi
L4lsFveMIbpCUMaBzOZ2sEIm6ek1YwuLfYC11v2o=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C3B9D3858D34
To: cygwin AT cygwin DOT com
Subject: Can't ssh to cygwin after switching sign-in to Windows Hello PIN
Date: Sun, 12 Sep 2021 23:05:49 +0100
Message-ID: <f5bwnnla1qa.fsf@ecclerig.inf.ed.ac.uk>
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b34 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at seine.is.ed.ac.uk
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50, KAM_DMARC_STATUS,
RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Henry S. Thompson via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Henry S. Thompson" <ht AT inf DOT ed DOT ac DOT uk>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Running cygwin 3.2.0-1 on Windows 10 Pro 21H1

Since changing my login from local User to Windows Hello PIN, I can't
ssh in to my machine using a password:  neither the PIN nor my old
password work:

  1) If from my machine I do
          ssh -o PreferredAuthentications=password localhost
     or
          ssh -o PreferredAuthentications=password [me]@[host]
     or
          ssh -o PreferredAuthentications=password U-[HOST]\\[me]@[host]

     I get "permission denied".

  2) If I try any of those from another machine, it hangs (but works
     w/o the "-o PreferredAuthentications=password", i.e. using a
     key).  By 'hangs' I mean that having typed the PIN and Enter,
     nothing happens, including no output if I include -v -v -v.

     Weirder still, if I try using strace, communication happens and I
     get "permission denied"

I have reinstalled openssh, removed the cygsshd service, re-run
ssh-host-config and restarted the service to no avail.

I only need password login to install new keys, and obviously there
are workarounds for that, but if there's just something I'm missing
I'd like to fix it.

Are there other things I need to worry about having switched to using
a PIN?

Thanks,

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019