LMLPHP后院

VPS Reload OS后SSH连接报错解决技术

maybe yes 发表于 2015-04-23 12:27

VPS reload OS 后 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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
e8:ec:d0:51:08:4a:46:7e:69:1f:41:75:41:9d:dc:99.
Please contact your system administrator.
Add correct host key in /Users/maybeyes/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/maybeyes/.ssh/known_hosts:6
RSA host key for 107.155.89.225 has changed and you have requested strict checking.
Host key verification failed.

解决方法:删除 .ssh/known_hosts 文件中对应的 IP 那一行。

相关文章
2019-12-14 18:39:10 1576319950 0.020123