@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
……
RSA host key for x.x.x.xhas changed and you have requested strict checking.
Host key verification failed.
lost connection
解决办法:
在使用scp命令的主机上,vim ~/.ssh/known_hosts,把包含目标网络地址(x.x.x.x)的那一行删掉。
本文介绍了解决SCP命令中遇到的RSA主机密钥变更问题的方法。通过删除已知主机列表中对应条目,可以避免因密钥更改导致的连接失败。适用于远程文件复制时遭遇密钥验证错误的情况。
890

被折叠的 条评论
为什么被折叠?



