1、Error:
wanneng@wanneng-desktop:~/company_workspace/sever-doc/software$ ssh 192.168.1.3 -l wanneng
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
51:51:b7:e0:e0:a8:05:08:a3:ff:54:dd:af:a9:5e:04.
Please contact your system administrator.
Add correct host key in /home/wanneng/.ssh/known_hosts to get rid of this message.
Offending key in /home/wanneng/.ssh/known_hosts:6
RSA host key for 192.168.1.3 has changed and you have requested strict checking.
Host key verification failed.
解决办法:ssh-keygen -R 192.168.1.3(或者主机名也可以)
这将移除.ssh/known_hosts中的RSA host key
原因:主机RSA key改变了,而ssh用的还是原来的RSA key,所以不匹配。
阅读(545) | 评论(0) | 转发(0) |