delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/27/14:34:57

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <bstewart AT iname DOT com>
Date: Thu, 27 Feb 2020 12:33:32 -0700
Message-ID: <CANV9t=QA+Hp_ofQ+0JYCGRiokDTsKU25cu_HK7KA6=DMi3YNKw@mail.gmail.com>
Subject: Re: OpenSSH: SSHD daemon (as SYSTEM) is partially broken
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Thu, Feb 27, 2020 at 11:09 AM n0nc3 <pkoshar AT compunetix DOT com> 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/<user>/.ssh/id_rsa
>    debug3: send_pubkey_test
>    debug2: we sent a publickey packet, wait for reply
>    Connection closed by <server_addr>
>
> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019