云服务器

首页 > 服务器基础知识 > SSH远程文件传送复制出现错误: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

SSH远程文件传送复制出现错误: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

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

SSH远程复制

乐道主机香港/美国云服务器,2核心,2G内存,40G SSD ,独立Ip, 香港5M,美国10M宽带,49元/月在线购买

解决方法:

通过SSH链接远程服务器,输入以下命今,红字部份复制。

echo >~/.ssh/known_hosts  (将你当前用户根目录下的.ssh/known_hosts文件清空或删除)

rm -fr ~/.ssh (删除本机的密匙)

echo >~/.ssh/known_hosts

图片描述

发表回复