X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type; q=dns; s=default; b=AM377hXYQUwV3sAC
	Bl9tWRK6AODtghPnQ8+owJV7jrOMNiTrFQLQe/JxZERdBThuKzE6Rq3NQrkBBLFm
	rLRqAdEslZL7KJ+L2OUJoPKjEnqom/GMNnAE6E1vu6qM/8KlFmNw+2nZql55CfJE
	9ozu97iZzEzouKPrsuCUevhwYRU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type; s=default; bh=OVdXRKFZGtSbFIEgToQ7Bn
	1/cbk=; b=oux+PIDG31y+HYr4U69Td+7Cmg8pcyAQRSD1+5u2PTWfODFxR4HGrQ
	PejurMJhPWo7JHMHZT+76rOZww+sY5swf+CIHnVLln5l3WP7KLPOUl7l+b/PtLl8
	8/G4DrQPEFWe+W0RYfnw6xIsUc+0825CFnBzD2Ta5qJoJRyH29uOU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY,NORMAL_HTTP_TO_IP autolearn=no version=3.3.2 spammy=H*r:Unknown, click, H*MI:sk:2019022, Services
X-HELO: blaine.gmane.org
To: cygwin@cygwin.com
From: Andy Moreton <andrewjmoreton@gmail.com>
Subject: Re: cygwin 3.0.1-1 breaks my sshd install
Date: Wed, 20 Feb 2019 21:27:22 +0000
Message-ID: <vz1pnrmnoat.fsf@gmail.com>
References: <19759126.568100.1550686604174.ref@mail.yahoo.com>	<19759126.568100.1550686604174@mail.yahoo.com>	<alpine.DEB.2.21.1902201038580.32163@ckhb05>	<47883ab06634fed3ecdaa375016dc3fb@smtp-cloud8.xs4all.net>	<20190220202536.GX4256@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (windows-nt)
X-IsSubscribed: yes

On Wed 20 Feb 2019, Corinna Vinschen wrote:

> On Feb 20 21:01, Houder wrote:
>> On Wed, 20 Feb 2019 10:53:09, scowles at ckhb dot org wrote:
>> > 
>> > i can confirm the same behaviours on a 3.0.0 system.  i've done several checks 
>> > and have been unable to find the source of the problem.  ssh -vvv shows that the 
>> > connection proceeds all the way through the connection process, sends the 
>> > appropriate key tokens, then the server abruptly closes the connection. all 
>> > accounts on the system show the same results.
>> > 
>> > my 2.11.1 system, with identical ssh[d]_config files has no such problems.
>> > 
>> > on both systems, all relevant files and directories have correct owners and 
>> > permissions.
>> 
>> Yes, failure for 3.0.0 (and 3.0.1); success for 2.11.2
>> 
>> Henri
>> 
>> 64-@@ uname -a
>> CYGWIN_NT-6.1 Seven 3.0.1(0.338/5/3) 2019-02-20 10:19 x86_64 Cygwin
>> 
>> 64-@@ tail /var/log/sshd.log
>> Server listening on 0.0.0.0 port 222.
>> seteuid 1004: Permission denied
>
> Sorry guys, but I can't reproduce this problem at all.  I tested ssh
> login on Vista, W7 and W10 1809, in each case on 64 bit and under
> WOW64.  On all systems I can login with domain as well as local
> accounts.
>
> For completeness sake I started sshd under SYSTEM as wel as under
> cyg_server account and every time it just worked.

I've seen a similar failure, on a domain-joined Windows 10 box running
cygsshd using a local cyg_server user account. I've fixed it by:
1) Open the "Computer Management" app
   Select "Services and Applications", then "Services", and
   choose the cygsshd service from the list.
2) Stop the service
3) Select the "Log On" tab, choose "Local System Account" and click OK.
4) Restart the service.

This changed the account reported by "cygrunsrv -VQ" from "./cyg_server"
to "LocalSystem".

    AndyM



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

