X-Recipient: archive-cygwin AT delorie DOT 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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; q=dns; s=default; b=SFwoMZx 4YA0gMnInFhphjVTTyCsLI17y14pC/9yLMYAiQM96l0G10uLEcbpWPXp+2UoGza/ s1azOM6ECeS9JyDPH2Av/8N9OM7MUfgcLF5I9shz9rxKbj0VqCh5/i+sefSU4mid bmyCqjWLwC2YLTrTg5+vc6gUYcVcaljiGaOQ= 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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=default; bh=SD5vn8s3aOcLE 67+pAfHnT9a5G8=; b=TJXNUBoybdPrFzVyRRGagYBoySw3CAJ7kPucXZPhck5DG DErs8y/B+0Lxw2gdjTN8Nuo/1U9k77+NaBSlxLFD4WvEKtawhuQvq9iCc7SEUKEy /AIsVeR3UdPe0OOieH95ltl4Qyn9tCmcBahBHOpvlErmagyw53bXsy33Rcleec= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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 MIME-Version: 1.0 References: <1582826967147-0 DOT post AT n5 DOT nabble DOT com> In-Reply-To: <1582826967147-0.post@n5.nabble.com> From: Bill Stewart Date: Thu, 27 Feb 2020 12:33:32 -0700 Message-ID: Subject: Re: OpenSSH: SSHD daemon (as SYSTEM) is partially broken To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes 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