Hi,
There are plenty of threads on this error:
Read from socket failed: Connection reset by peer
which most of them indicating a defect...
But I encounter a different issue...:
In my server, I'm able to ssh localhost as all users. e.g:
[root@pc2 ~]# ssh localhost
root@localhost's password:
Last login: Tue Aug 26 05:53:03 2014 from localhost
[root@pc2 ~]#
But! once trying with a specific user, I get the connection reset by peer error:
otherusr@pc2 [~]# ssh localhost
Read from socket failed: Connection reset by peer
otherusr@pc2 [~]#
checking the permissions of the otherusr .ssh dir and the files in it it all looks fine:
otherusr@pc2 [~/.ssh]# ll
total 24
drwx------ 2 otherusr fcbman 4096 Aug 26 05:45 ./
drwxr-xr-x. 21 otherusr fcbman 4096 Aug 26 05:52 ../
-rw-r--r-- 1 otherusr fcbman 780 Aug 24 10:16 authorized_keys
-rw------- 1 otherusr fcbman 1671 Aug 24 10:04 id_rsa
-rw-r--r-- 1 otherusr fcbman 390 Aug 24 10:04 id_rsa.pub
-rw-r--r-- 1 otherusr fcbman 1022 Aug 26 05:45 known_hosts
does anyone has any idea?
the only threads I found indicated HW issue... but since it is working for other users and not a specific user I would assume it is not the same issue...
appreciate any help
Thanks a lot,
fcbman