2013年3月17日 星期日

[sshfs] Connection reset by peer - ssh sshfs error


[sshfs] Connection reset by peer - ssh sshfs error



Connect to remote machiine



sshfs root@111.2.1.76:/ /home/freeman/folder/111.2.1.76 -p 22



But



Connection reset by peer - ssh sshfs error



Solve:



ssh happy@192.168.100.1 echo happy

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
35:3c:77:e3:45:67:bb:32:65:db:07:cf:ee:b5:51:30.
Please contact your system administrator.
Add correct host key in /home/freeman/.ssh/known_hosts to get rid of this message.
Offending key in /home/freeman/.ssh/known_hosts:11
RSA host key for 192.168.100.1 has changed and you have requested strict checking.
Host key verification failed.


sed -i -e '11d' /home/happy/.ssh/known_hosts

Type ssh happy@192.168.100.1 echo happy
Then successfully to connect to 192.168.100.1.

Type sshfs root@111.2.1.76:/ /home/freeman/folder/111.2.1.76 -p 22
Successfully connect to 192.168.100.1.


Reference :



Related Posts:

0 意見:

張貼留言