@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:0B/QXLC9aydJvKDrMZJohXQER7CcS/Gx1IXsDniFxuY.
Please contact your system administrator.
Add correct host key in /home/archie/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/archie/.ssh/known_hosts:1
remove with:
ssh-keygen -f "/home/archie/.ssh/known_hosts" -R "182.61.30.126"
ECDSA host key for 182.61.30.126 has changed and you have requested strict checking.
Host key verification failed.
问题出现原因:
本地保留的密钥与远程主机不匹配,导致无法认证成功,一般情况是因为,远程主机的系统更换。
解决方法:
sudo rm -rf ~/.ssh
删除对应文件夹下的保存的.ssh密钥即可。