linux ssh远程登陆提示WARNING: REMOTE H
2020-08-08 本文已影响0人
frankie_cheung
(base) [root@erqwtfugj data]# ssh root@10.10.41.35
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:9yr0A+mqoTLddKek6LHzG7qEADQYpJsD1MM4pCdZKZY.
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:1
ECDSA host key for 10.10.41.35 has changed and you have requested strict checking.
Host key verification failed.
解决方案:
把ssh登陆的.ssh目录下的known_hosts文件移到其他地方即可