ssh REMOTE HOST IDENTIFICATION HAS CHANGED 解决方法
在mac os 下使用 ssh root@45.76.51.19
出现下面的错误:
~ ssh root@45.76.51.19
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:e7ubeolQHLVZnY81jhypvo4TzUM/BjR7uozjkwvjXME.
Please contact your system administrator.
Add correct host key in /Users/yutao/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/yutao/.ssh/known_hosts:26
RSA host key for 45.76.51.19 has changed and you have requested strict checking.
Host key verification failed.
解决方法:
进入此目录,删除45.76.51.19的相关rsa的信息即可.