ssh 远程链接时出现错误提示:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED
Posted Make Change
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ssh 远程链接时出现错误提示:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED相关的知识,希望对你有一定的参考价值。
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 ECDSA key sent by the remote host is 6e:93:9b:69:2c:81:c1:e4:43:c6:98:83:25:01:2b:c9. Please contact your system administrator. Add correct host key in /home/ttt/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /home/ttt/.ssh/known_hosts:30 remove with: ssh-keygen -f "/home/xiankaichen/.ssh/known_hosts" -R 192.168.10.111 ECDSA host key for 192.168.10.111 has changed and you have requested strict checking. Host key verification failed.
解决办法
ssh-keygen -R 伺服器端的IP或網址
接下來在連線一次,會出現
Are you sure you want to continue connecting (yes/no)?
輸入yes,问题解决了
以上是关于ssh 远程链接时出现错误提示:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED的主要内容,如果未能解决你的问题,请参考以下文章
执行远程命令时出现 SSH 错误:“stdin: is not a tty”
SSH连接时出现「WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!」解决办法