This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Cannot ssh: "Connection reset by peer" error when connecting
- From: "Morche Matthias" <Matthias dot Morche at P7S1Produktion dot de>
- To: <prosolutions at gmx dot net>, <cygwin at cygwin dot com>
- Date: Thu, 10 Jun 2004 10:48:43 +0200
- Subject: RE: Cannot ssh: "Connection reset by peer" error when connecting
ssh never worked for me if the private key file was set be to readable by everyone...
Did You start sshd with debugging, did You have a look into /var/log/sshd.log?
> Interestingly I saw that post just before making my posting
> here. That
> was the last attempt I made to fix it. I tried to chown SYSTEM.SYSTEM
> .ssh/* which had no effect whatsoever on the ownership. This
> user also has full administrative rights.
>
> Here is the directory listing for /home/user/.ssh:
>
> total 4
> drwxr-xr-x 2 user Kein 0 Jun 9 17:11 .
> drwxr-xr-x 3 user Kein 0 Jun 9 16:09 ..
> -rw-r--r-- 1 user Kein 225 Jun 9 17:11 authorized_keys
> -rw-r--r-- 1 user Kein 887 Jun 9 17:11 id_rsa
> -rw-r--r-- 1 user Kein 225 Jun 9 17:11 id_rsa.pub
> -rw-r--r-- 1 user Kein 447 Jun 9 17:12 known_hosts
>
>
> However, given that they are all mode 644 I would think that would be
> enough. I've also seen this thread
> http://archive.erdelynet.com/ssh-l/2001-06/msg00057.php which
> indicates
> 644 should be enough (what I would also tend to think).
...
--
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/