From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23710 invoked by alias); 27 Feb 2020 19:34:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23693 invoked by uid 89); 27 Feb 2020 19:34:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=logon, SYSTEM, sshds, Offering X-HELO: mout.gmx.com Received: from mout.gmx.com (HELO mout.gmx.com) (74.208.4.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 27 Feb 2020 19:34:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1582832041; bh=21sSlTPsbxfQg0CVcBqjwMfHRpQGk3y9vtwD7LgIfoE=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=VxJv+WnQ+Ix40jzsT+zdTKN94s6lWaDd9eT/svuxWtlle6K8sSVFUVTQput0JLATg qmCBoMqOwj3hr6DCti6ZjXeZcVWUBAYRBkoNcbHezswofcNfEinObCd7DNiV0GCyOi 1eYtgh+cvfFTLOSyGXUwP4rh/GPKIhrDhOI3727A= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Received: from mail-lj1-f182.google.com ([209.85.208.182]) by mail.gmx.com (mrgmxus004 [74.208.5.15]) with ESMTPSA (Nemesis) id 0LtZHm-1jZ8yD27r2-010vfe for ; Thu, 27 Feb 2020 20:34:01 +0100 Received: by mail-lj1-f182.google.com with SMTP id e18so498628ljn.12 for ; Thu, 27 Feb 2020 11:34:01 -0800 (PST) MIME-Version: 1.0 References: <1582826967147-0.post@n5.nabble.com> In-Reply-To: <1582826967147-0.post@n5.nabble.com> From: Bill Stewart Date: Thu, 27 Feb 2020 19:34:00 -0000 Message-ID: Subject: Re: OpenSSH: SSHD daemon (as SYSTEM) is partially broken To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00255.txt.bz2 On Thu, Feb 27, 2020 at 11:09 AM n0nc3 wrote: It appears Cygwin SSHD's functionality is partially broke in the later > versions, where SSHD runs as SYSTEM (no longer cyg_server). > > On reboot, any attempt to SSH into the server *before* any previous logon > attempt (RDP/locally/etc) is quickly denied: > > debug1: Offering public key: /home//.ssh/id_rsa > debug3: send_pubkey_test > debug2: we sent a publickey packet, wait for reply > Connection closed by > > Once an RDP/local login is attempted, regardless of success/failure, > subsequent ssh attempts will progress to the password prompt which > eventually gets us in. > This is a known issue on OS versions older than 8.1. See thread starting with this message: https://cygwin.com/ml/cygwin/2019-03/msg00087.html My proposed workaround is this: https://cygwin.com/ml/cygwin/2019-03/msg00113.html Bill -- 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