SSH登录报错:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

错误信息:
[root@centos network-scripts]# ssh 10.24.10.91
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:rFgkIYXDdHigjYZxh52W0YI3JzjsU1QvkqcS2Vn/BoI.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:3
ECDSA host key for 10.24.10.91 has changed and you have requested strict checking.
Host key verification failed.
解决办法:
在客户端执行下述指令
vi ~/.ssh/known_hosts
例如我的机子IP地址为:10.24.10.91
则把里面与所要连接IP(10.24.10.91)相关的内容删掉即可.
本文链接:https://www.orcy.net.cn/1762.html,转载请附上原文出处链接
发表评论