scp传输时提示 REMOTE HOST IDENTIFICATION HAS CHANGED的解决办法

来源:互联网 发布:知其荣守其辱哲学哲理 编辑:程序博客网 时间:2024/06/16 09:36

如果提示信息如下:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    WARNING: REMOTE HOST IDENTIFICATION HASCHANGED!     @

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

IT IS POSSIBLETHAT SOMEONE IS DOING SOMETHING NASTY!

Someone couldbe eavesdropping on you right now (man-in-the-middle attack)!

It is alsopossible that the RSA host key has just been changed.

Thefingerprint for the RSA key sent by the remote host is

3c:3c:4b:f9:37:2f:76:61:15:65:e5:80:1b:db:a7:3c.

Please contactyour system administrator.

Add correcthost key in /root/.ssh/known_hosts to get rid of this message.

如图所示 :


可以 输入 vi /root/.ssh/known_hosts 


然后找到  提示信息中 172.16.64.202  ssh -rsa 这一段 把这一段都删除 知道下一个 172.16.64.205 之前 

保存退出 再执行scp 命令就可以了



阅读全文
0 0
原创粉丝点击