ssh远程出错
scp 远程复制文件出错
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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:FZD5y9aXKZMzz6cVeqGc5/5DdaKTetvWpZmClzyRDe4.Please contact your system administrator.Add correct host key in /home/xxx/.ssh/known_hosts to get rid of this message.Offending ECDSA key in /home/xxx/.ssh/known_hosts:4remove with:ssh-keygen -f "/home/xxx/.ssh/known_hosts" -R "192.168.1.138"ECDSA host key for 192.168.1.138 has changed and you have requested strict checking.Host key verification failed.
解决办法
根据提示进入
/home/xxx/.ssh/known_hosts
把known_hosts重命名或者删除。