delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/01/17/07:51:59

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 50HCpxa6671183
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 50HCpxa6671183
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ZwGsfKvw
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60B7D3847806
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1737118318;
bh=Ecr441A3JluEUIWypa4MjJejQYST8DqgGbbmhm+s6e4=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=ZwGsfKvwGmW0fR4Cs+v6ib3ndb0JiSrJYJ3UFEB4s1LUcgra70KYUY6AIMBEzTVkY
BE1QjyqPjz0ykxkM1WaXfV0v7ymyDgjFnbGa10Ov6J+R88Cd2k90pyGasIyVJhxS1f
XgG+Lkpxa92q5brsAgujjOAuOxqoaboA7QSuTFQ4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 689B63848434
Date: Fri, 17 Jan 2025 13:51:30 +0100
To: cygwin AT cygwin DOT com
Subject: Re: sshd not working properly
Message-ID: <Z4pSUtv0CdZNZSo4@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <LTQOVCXmc0omW9pKR5Kf2VV2rkqMLBgNy-HyfSog-h2-eEjbnJroxxEUCUTKQSQrMGXaZJ7FH2qocwS-hpfW3RveKOrq-HlRtJqh7NDg8w4=@proton.me>
<CAL63K1XbYdKYGxacM-ifuakReCQefYB1K5MmWS2YuT2+La=RdQ AT mail DOT gmail DOT com>
<6c39972b-43ef-4e32-a238-f2778f3cc4e5 AT emmenlauer DOT de>
MIME-Version: 1.0
In-Reply-To: <6c39972b-43ef-4e32-a238-f2778f3cc4e5@emmenlauer.de>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 50HCpxa6671183

On Jan 17 11:59, Mario Emmenlauer via Cygwin wrote:
> 
> On 04.09.24 12:11, Andy Wood via Cygwin wrote:
> > Running "passwd -R" for 'other_user', as suggested by the subject of
> > the post, fixed the problems for me.
> > 
> > It looks like sshd isn't handling a login failure properly.
> > 
> > On Tue, Sep 3, 2024 at 7:57 PM Jim McNamara via Cygwin
> > <cygwin AT cygwin DOT com> wrote:
> > > 
> > > > > This looks like a bug. Can anyone help? Is there a work-around?
> > >   Hi Andy,
> > > 
> > > There was some chatter the last week or 2 on someone trying to get ssh to work. At the archive mailing list, you can read and see if that answers any of it.
> > > 
> > > I thought the gist of it is that a cipher is being swapped out or something.
> > > 
> > > Please read archives at the mailing list while you are waiting for a reply for the past week or 2 msgs.
> > > 
> > > Also, the other person said they found out information in the release notes for cygwin that were kind of recent.
> 
> 
> I am under the impression that there may be a misbehavior in more recent
> Cygwin OpenSSH :-(
> 
> I observe the same problem as Andy Wood was having, and found another
> very recent identical report at https://serverfault.com/q/1168457/473559.
> Their cases, as well as mine, seem to share, that OpenSSH can no longer
> correctly authenticate as a user without having the plain text password
> stored in the registry.
> 
> In my case, this is exclusively limited to domain users. Local users
> work correctly. I can see that at least one other report, the one at
> Serverfault, is also for a domain user. Also, everything that is
> reported at Serverfault applies basically identically to my case, i.e.
> the connection being just dropped, and the only relevant message from
> OpenSSH being "fatal: seteuid 4096: Function not implemented".

I just tested this on my local W11 24H2 Enterprise installation with
Cygwin 3.5.5 and OpenSSH 9.9p1 installed as service under the SYSTEM
account, and it works fine for me in a Windows domain with one 2019 and
one 2022 Domain Server.

I tested with a user account in the administrators group as well as with
a non-admin user account, and to both accounts I can login with pubkey
authentication as expected.

The error message "seteuid 4096: Function not implemented" is weird.
The internal implementation only uses documented functions.

Which Windows version are you running the service on exactly?

Do you have any other entries in the server-side Windows Log, which may
be connected, especially inside the Security log.  Kerberos or so.

Other than that, it might be prudent to run sshd in a SYSTEM shell
under strace.


Corinna

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