delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/18/21:37:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Greg Holmes" <holmegm AT home DOT com>
To: cygwin AT cygwin DOT com
Date: Sun, 18 Nov 2001 21:37:05 -0500
MIME-Version: 1.0
Subject: ssh connection reset by peer
Message-ID: <3BF82A01.27677.14852D4F@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)

I can run sshd, but when I test it with ssh -vvv localhost, it doesn't
succeed.  The output ends with:

debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
Read from socket failed: Connection reset by peer
debug1: Calling cleanup 0x41a250(0x0)

The syslog is 

/usr/sbin/sshd : Win32 Process Id = 0xFA9DE845 : Cygwin 
Process Id = 0x56217BB : LOG_INFO : Server listening on 
127.0.0.1 port 81.
/usr/sbin/sshd : Win32 Process Id = 0xFA9DE845 : Cygwin 
Process Id = 0x56217BB : LOG_INFO : Server listening on 
127.0.0.1 port 22.
/usr/sbin/sshd : Win32 Process Id = 0xFA9DE845 : Cygwin 
Process Id = 0x56217BB : LOG_INFO : Server listening on 
24.XX.XX.XX port 81.
/usr/sbin/sshd : Win32 Process Id = 0xFA9DE845 : Cygwin 
Process Id = 0x56217BB : LOG_INFO : Server listening on 
24.XX.XX.XX port 22.
/usr/sbin/sshd : Win32 Process Id = 0xFA9DE845 : Cygwin 
Process Id = 0x56217BB : LOG_INFO : Generating 768 bit RSA 
key.
/usr/sbin/sshd : Win32 Process Id = 0xFA9DE845 : Cygwin 
Process Id = 0x56217BB : LOG_INFO : RSA key generation 
complete.
/usr/sbin/sshd : Win32 Process Id = 0xFA9C8C11 : Cygwin 
Process Id = 0x56373EF : LOG_INFO : Connection from 127.0.0.1 
port 4212
/usr/sbin/sshd : Win32 Process Id = 0xFA9C8C11 : Cygwin 
Process Id = 0x56373EF : LOG_INFO : Enabling compatibility 
mode for protocol 2.0
/usr/sbin/sshd : Win32 Process Id = 0xFA9C8C11 : Cygwin 
Process Id = 0x56373EF : LOG_CRIT : fatal: Read from socket 
failed: Resource temporarily unavailable

At one point I did have this working with passwordless login.
I _think_ the only thing changed is updating Cygwin with setup.exe.
I tried uninstalling and reinstalling openssh and openssl, but that
didn't help.

This is on Win98, with a current Cygwin installation.  Any ideas?



----------------
Greg Holmes
holmegm AT home DOT com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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