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::9b::2c::c1:e4::c6:::::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:
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,问题解决了