This is the mail archive of the cygwin 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]

Re: SSH error: Read from socket failed: Connection reset by peer


Andrew/Jakob,

The following is the result of the sftp command with the -v parameter:

>sftp -v ftpuser@65.38.96.67 
Connecting to 65.38.96.67... 
OpenSSH_4.3p2, OpenSSL 0.9.7l 28 Sep 2006 
debug1: Reading configuration data /etc/ssh/ssh_config 
debug1: Connecting to 65.38.96.67 [65.38.96.67] port 22. 
debug1: Connection established. 
debug1: identity file /d003/clarify/.ssh/id_rsa type -1 
debug1: identity file /d003/clarify/.ssh/id_dsa type 2 
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.1 
debug1: match: OpenSSH_4.1 pat OpenSSH* 
debug1: Enabling compatibility mode for protocol 2.0 
debug1: Local version string SSH-2.0-OpenSSH_4.3 
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(1024<1024<8192) sent 
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP 
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent 
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY 
debug1: Host '65.38.96.67' is known and matches the RSA host key. 
debug1: Found key in /d003/clarify/.ssh/known_hosts:6 
debug1: ssh_rsa_verify: signature correct 
debug1: SSH2_MSG_NEWKEYS sent 
debug1: expecting SSH2_MSG_NEWKEYS 
debug1: SSH2_MSG_NEWKEYS received 
debug1: SSH2_MSG_SERVICE_REQUEST sent 
debug1: SSH2_MSG_SERVICE_ACCEPT received 
debug1: Authentications that can continue: publickey,password,keyboard-interactive 
debug1: Next authentication method: publickey 
debug1: Trying private key: /d003/clarify/.ssh/id_rsa 
debug1: Offering public key: /d003/clarify/.ssh/id_dsa 
Read from socket failed: Connection reset by peer 
Connection closed 

Does this look like a problem with the public/private key?

How would I turn on logging for cygwin ssh on our server?

Thanks,

Sam


--- On Tue, 4/21/09, Sam Snitman <ssnitman@yahoo.com> wrote:

> From: Sam Snitman <ssnitman@yahoo.com>
> Subject: Re: SSH error: Read from socket failed: Connection reset by peer
> To: "Andrew Schulman" <schulman.andrew@epamail.epa.gov>
> Date: Tuesday, April 21, 2009, 11:29 AM
> Thanks Andrew,
> 
> I will have our business partner add this to their sftp
> attempt to see if it provides more information.
> 
> Sam
> 
> 
> --- On Tue, 4/21/09, Andrew Schulman
> <schulman.andrew@epamail.epa.gov> wrote:
> 
> > From: Andrew Schulman
> <schulman.andrew@epamail.epa.gov>
> > Subject: Re: SSH error: Read from socket failed:
> Connection reset by peer
> > To: cygwin@cygwin.com
> > Date: Tuesday, April 21, 2009, 10:58 AM
> > > >sftp ftpuser@65.38.96.67 
> > > Connecting to 65.38.96.67... 
> > > Read from socket failed: Connection reset by peer
> 
> > > Connection closed 
> > 
> > You can add -v, -vv, or -vvv to the sftp command to
> get
> > more diagnostic
> > information.
> > 
> > 
> > --
> > Unsubscribe info:     
> > http://cygwin.com/ml/#unsubscribe-simple
> > Problem reports:       http://cygwin.com/problems.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]