delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/30/13:02:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Min Kim" <minkim1 AT yahoo DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Req Help: sshd error: Read from socket failed: Connection aborted
Date: Mon, 30 Dec 2002 13:01:40 -0500
Message-ID: <000101c2b02d$8182e010$0200a8c0@desktop>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

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/

- Raw text -


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