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: Connection reset by peer using ssh


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@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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]