This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ssh connection reset by peer


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@home.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]