delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/09/13/13:35:42

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 82CB93858402
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1631554501; bh=iwtDRTmZtEw5jr0nu/XpUGh4V9m6wDYauJ/xCATeG38=;
h=In-Reply-To:Subject:To:Message-ID:From:References:Date:Reply-To;
b=QIZMV4kWmnocoQTQHRKVKMYvu3it2/aWpv7fdNxrdxPVkvu68fd5zwUJ7l/A0FJzy
mdK2Dw6gZ9592fz63puf0+JGwCvBwogbctLjYml319/sMOL6nXOJqwMhVfamr0KkUV
O884f+gmiHL+PIAPnZd/+5BMO2c/8EQxEVhT99BU=
Authentication-Results: sas1-296f81e401ce.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Mon, 13 Sep 2021 20:21:13 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <1545208418.20210913202113@yandex.ru>
To: "Henry S. Thompson" <ht AT inf DOT ed DOT ac DOT uk>, cygwin AT cygwin DOT com
Subject: Re: Can't ssh to cygwin after switching sign-in to Windows Hello PIN
In-Reply-To: <f5bwnnla1qa.fsf@ecclerig.inf.ed.ac.uk>
References: <f5bwnnla1qa DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk>
MIME-Version: 1.0
X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,
SPF_HELO_NONE, 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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Henry S. Thompson!

> 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?

Did you try to `passwd -R` as explained in
https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview ?


-- 
With best regards,
Andrey Repin
Monday, September 13, 2021 20:17:57

Sorry for my terrible english...


-- 
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