错误:
错误guoqiang@linux-PowerEdge-R730:~$ ssh nku08@10.10.1.215
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:K3MCgW1OPTPf2toZG561y3aUx3/5PcPYONTK11USw2g.
Please contact your system administrator.
Add correct host key in /home/guoqiang/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/guoqiang/.ssh/known_hosts:2
remove with:
ssh-keygen -f "/home/guoqiang/.ssh/known_hosts" -R 10.10.1.215
ECDSA host key for 10.10.1.215 has changed and you have requested strict checking.
Host key verification failed.
guoqiang@linux-PowerEdge-R730:
解决方式
第一种:
输入命令ssh-keygen -f "/home/guoqiang/.ssh/known_hosts" -R 10.10.1.215
第二种:
输入命令rm ~/.ssh/known_hosts
网友评论