X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <219478.71227.qm@web83603.mail.sp1.yahoo.com> Date: Wed, 22 Apr 2009 11:44:19 -0700 (PDT) From: Sam Snitman Subject: Re: SSH error: Read from socket failed: Connection reset by peer To: jc AT info-systems DOT de, schulman DOT andrew AT epamail DOT epa DOT gov, cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Andrew/Jakob, The following is the result of the sftp command with the -v parameter: >sftp -v ftpuser AT 65 DOT 38 DOT 96 DOT 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 wrote: > From: Sam Snitman > Subject: Re: SSH error: Read from socket failed: Connection reset by peer > To: "Andrew Schulman" > 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 > wrote: > > > From: Andrew Schulman > > > Subject: Re: SSH error: Read from socket failed: > Connection reset by peer > > To: cygwin AT cygwin DOT com > > Date: Tuesday, April 21, 2009, 10:58 AM > > > >sftp ftpuser AT 65 DOT 38 DOT 96 DOT 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/