重装服务器ssh连接报错 “WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! ”

 尕豆   2017-12-27 18:16   1010 人阅读  0 条评论

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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 ECDSA key sent by the remote host is

SHA256:I/ut+wR6QMDLEmEBX+OhRxofR90SY1u2V9NxVQHy0tI.

Please contact your system administrator.

Add correct host key in /Users/root/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /Users/root/.ssh/known_hosts:1

ECDSA host key for 66.154.104.58 has changed and you have requested strict checking.

Host key verification failed.



解决办法,简单粗暴!

rm -rf ~/.ssh/known_hosts


重新连接即可!

本文地址:http://www.pgnote.com/?id=14
版权声明:本文为原创文章,版权归 尕豆 所有,欢迎分享本文,转载请保留出处!

 发表评论


表情

还没有留言,还不快点抢沙发?