Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040610103039.0325fc18@pop.prospeed.net> X-Sender: Date: Thu, 10 Jun 2004 10:32:44 -0400 To: "Mike Kenny - BCX - Infrastructure Services" , "Cygwin (E-mail)" From: Larry Hall Subject: Re: Connection reset by peer using ssh In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 04:25 AM 6/10/2004, you wrote: >I am encountering some problems with ssh that are probably simple finger trouble, but.... > >I run ssh-host-config and say yes to everything. Then I try to connect from the localhost >to the localhost (for test purposes only). Below is the output of -vvv. I have some questions > >1. what is causing the connection reset? >2. what in the output below would have told me the answer to 1? >3. why do the files identity, id_rsa and id_dsa not exist? > >myself AT mysystem$ ssh -l myself -vvv mysystem >OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003 >debug1: Reading configuration data /etc/ssh_config >debug2: ssh_connect: needpriv 0 >debug1: Connecting to mysystem [168.155.160.61] port 22. >debug1: Connection established. >debug1: identity file /home/myself/.ssh/identity type -1 >debug1: identity file /home/myself/.ssh/id_rsa type -1 >debug1: identity file /home/myself/.ssh/id_dsa type -1 >ssh_exchange_identification: read: Connection reset by peer >debug1: Calling cleanup 0x41bf10(0x0) > >myself AT mysystem$ > >I have setup ssh on a number of systems, always taking the defaults to ssh-host-config and >most times I can connect without problem. What is different about this time? You said you ran ssh-host-config. What about ssh-user-config? The identity files are created by this script. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/