閱讀113 返回首頁    go windows


備忘 - WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 問題解決

服務器重做係統後,Mac上的Iterm SSH登錄報錯,信息如下:

ChrisdeMacBook-Pro:~ chris$ ssh root@192.168.100.107
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:+kTz3uZba/6kb7NMG5WGOLWySRVzRZHGpVmgSOXEnNg.
Please contact your system administrator.
Add correct host key in /Users/chris/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/chris/.ssh/known_hosts:6
RSA host key for 192.168.100.107 has changed and you have requested strict checking.
Host key verification failed.

仔細觀察錯誤信息,發現這一行:Offending RSA key in /Users/chris/.ssh/known_hosts:6。經過推斷,應該是key發生了變化導致的,嚐試把Users/chris/.ssh/known_hosts文件中100.107的key刪掉,重新連接就可以了。

最後更新:2017-09-05 16:32:30

  上一篇:go  APP軟件開發外包行業發展方向分析
  下一篇:go  並不是所有的備份都可以防止“永恒之藍”,除了和力記易!