delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/09/02/16:22:29

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 29679386EC3C
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=pdinc.us
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jpyeron AT pdinc DOT us
DKIM-Filter: OpenDKIM Filter v2.11.0 mail1.pdinc.us 082KLhFV009736
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdinc.us; s=default;
t=1599078103; bh=AoJp+8b2TKtQmMmbyxG61sgPdnAsbUH7CdDF0lip5V4=;
h=From:To:References:In-Reply-To:Subject:Date:From;
b=d9Z3FwMeUXOpZnK/fPMZ2sPLAb5URAsqYFTtAy9sKDHdxCJMBNmlVhlzMnYAEQFNL
LTvwkozdKZxnzxwt1ectwVJf5sesFHYmI0Xj7y6GbPsN2F/VaVvf9dRFa+AGHbQCRl
Y184XM17YIoVYzpCdk8/ALv9Ny0kXYsVDc12pAthBwNHOkdUjxHERZTOAAhtz4Ebis
sV+yZ8927hiRVNt5oySTY/AA4ryRe2oPDmbOdyzh1FZlqyCdciJxiBhvrw12SGKF3n
ovOHMLLGCKj7DUqTf9fg8QN0JkiyDKV1eSLOzvmRd1zO3R9YMNMr6OMdivu0Ch+M2M
kvhZcta94JtBw==
From: "Jason Pyeron" <jpyeron AT pdinc DOT us>
To: <cygwin AT cygwin DOT com>
References: <QB1PR01MB3875A2728468358F5AA23B59CD2F0 AT QB1PR01MB3875 DOT CANPRD01 DOT PROD DOT OUTLOOK DOT COM>
In-Reply-To: <QB1PR01MB3875A2728468358F5AA23B59CD2F0@QB1PR01MB3875.CANPRD01.PROD.OUTLOOK.COM>
Subject: RE: [cygwin] ssh server immediately closing connection
Date: Wed, 2 Sep 2020 16:21:53 -0400
Organization: PD Inc
Message-ID: <038101d68166$b2970fa0$17c52ee0$@pdinc.us>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQJnsDRFYQKSz0AD64jU3y/Xn4H1Q6gzbCMw
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_INFOUSMEBIZ, SPF_HELO_PASS,
SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

> -----Original Message-----
> From: Leroy Tennison
> Sent: Wednesday, September 2, 2020 3:49 PM
> 
> Attempting to connect using blah AT 1 DOT 2 DOT 3 DOT 4 (the user and IP address have been obfuscated), the first
> time I'm prompted to accept the host's fingerprint and, after I do, the connection is immediately
> closed.  Trying again I get an immediate "Connection closed by 1.2.3.4 port 22".  I have tried both
> 32-bit and 64-bit Cygwin (after removing what was previously installed).  I used ssh-host-config and
> ssh-user-config for setup, the lines in sshd_config which aren't commented out are:
> 
> StrictModes no
> AuthorizedKeysFile      .ssh/authorized_keys
> Subsystem       sftp    /usr/sbin/sftp-server

Please detail the windows service configuration. I see that you are running as cyg_server account. Please try as SYSTEM.

Please confirm the issue is the same in the windows event log 

-Jason

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