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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
27:66:8d:6c:8d:6d:15:27:90:66:25:78:15:58:89:4b.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:3
RSA host key for 198.116.5.13 has changed and you have requested strict checking.
Host key verification failed.
lost connection
乐道主机香港/美国云服务器,2核心,2G内存,40G SSD ,独立Ip, 香港5M,美国10M宽带,49元/月,在线购买。
解决方法:
通过SSH链接远程服务器,输入以下命今,红字部份复制。
echo >~/.ssh/known_hosts (将你当前用户根目录下的.ssh/known_hosts文件清空或删除)
rm -fr ~/.ssh (删除本机的密匙)