192.168.60.88因为机子出现问题重置了,使用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 isSHA256:jLD0ve78mwX7WPSF59yg3GDTMOYdraKykCdBifT8bns.Please contact your system administrator.Add correct host key in /afs//users/h/huqbtest/.ssh/known_hosts to get rid of this message.Offending ECDSA key in /afs//users/h/huqbtest/.ssh/known_hosts:25ECDSA host key for 192.168.60.88 has changed and you have requested strict checking.Host key verification failed.
这是因为重装系统导致服务器信息与本地保存的ssh信息不匹配,删除本地known_hosts里的缓存信息即可
执行
ssh-keygen -R "192.168.60.88"