ssh 登陆服务器提示“Host key verification failed” 告警的解决办法
发布日期:2016-1-14 21:1:19
当使用SSH登陆服务器的时候,若出现如下所示信息: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 ****** Please contact your system administrator. Add correct host key in ~/.ssh/known_hosts to get rid of this message. Offending key in~/.ssh/known_hosts:* RSA host key for *.*.*.* has changed and you have requested strict checking. Host key verification failed. 解决办法: 1、请先重新登录测试,看问题是不是复现。 2、如果问题复现,请打开用来登陆的服务器上的 ~/ssh/know_hosts文件,并将文件里的要登陆服务器的IP 记录删除掉。
|