Hello, If anyone could offer assistance, I would appreciate it.
I am unable to login to sshd after installation. I am running cygwin 1.3.18-1 on Windows XP. I installed sshd by running the ssh-host-config script and choosing not to enable privilege separation. sshd is installed as a service and is started using "cygrunsrv -S sshd". When I try to log on to localhost I get the following: $ ssh -v localhost OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090608f debug1: Reading configuration data /etc/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /home/minkim/.ssh/identity type 0 debug1: identity file /home/minkim/.ssh/id_rsa type 1 debug1: identity file /home/minkim/.ssh/id_dsa type 2 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 debug1: match: OpenSSH_3.5p1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.5p1 debug1: SSH2_MSG_KEXINIT sent Read from socket failed: Connection aborted debug1: Calling cleanup 0x41b1b0(0x0) When I try to log on to the server from a remote machine, I get the following: $ ssh -v 192.168.0.2 OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to 192.168.0.2 [192.168.0.2] port 22. debug1: Connection established. debug1: identity file /home/minkim/.ssh/identity type -1 debug1: identity file /home/minkim/.ssh/id_rsa type -1 debug1: identity file /home/minkim/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 debug1: match: OpenSSH_3.5p1 pat OpenSSH* Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.4p1 Debian 1:3.4p1-1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP Connection closed by 192.168.0.2 debug1: Calling cleanup 0x8063a9c(0x0) There is nothing in the sshd log. Does anyone have any suggestions? I've been trying to get this to work for over a week, and have read what I could find on the archives about sshd setup, and I am still unable to get it to work. Any help would be greatly appreciated. Min Kim p. s. I have also tried the server setup with privilege separation enabled and the file/directory privileges set per instructions, but I get errors with that setup too. Oh well. -- 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/