linux 远程连接ssh提示IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY解决

  1. outekiMacBook-Air:BurpLoader4burpsuite_pro_v1.5.11 watsy$ ssh root@192.168.2.108
  1. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  2. @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
  3. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  4. IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
  5. Someone could be eavesdropping on you right now (man-in-the-middle attack)!
  6. It is also possible that a host key has just been changed.
  7. The fingerprint for the RSA key sent by the remote host is
  8. 07:36:8e:d0:72:88:38:f7:21:10:c3:12:d6:35:ad:55.
  9. Please contact your system administrator.
  10. Add correct host key in /Users/watsy/.ssh/known_hosts to get rid of this message.
  11. Offending RSA key in /Users/watsy/.ssh/known_hosts:1
  12. RSA host key for 192.168.2.108 has changed and you have requested strict checking.
  13. Host key verification failed.

提示以上错误

解决办法

[root]$ rm -rf ~/.ssh/known_hosts

重新ssh连接,ok了。

参考地址:http://ubuntuforums.org/showthread.php?t=1296230