首页 > 电脑教程 > Linux教程 > WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

小编:动力软件园 时间:2019-02-13 12:59:30

[root@200 .ssh]# scp id_rsa.pub root@21x.20x.x.x:/home
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
4a:3e:b2:56:e2:e7:ac:11:42:61:50:76:af:86:e8:e2.
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:1
RSA host key for 218.206.194.246 has changed and you have requested strict checking.
Host key verification failed.
lost connection


今天远程scp远端机器的时候发现了如下提示:怎么都连不上。


解决办法:

[root@localhost .ssh]# cat /root/.ssh/known_hosts 



删除远端机器的缓存即可。


vi /root/.ssh/known_hosts


dd


:wq

即可。

RSYNC ssh免密码认证登录

https://www.pw88.com/teach/linux/282.html

排行榜
易学车老版本

易学车老版本

实用工具 下载
天行健安卓版 v2.35770

天行健安卓版 v2.35770

手游软件 下载
三星PC套件 samsung kies 官方正式版 3.2.15041.2

三星PC套件 samsung kies 官方正式版 3.2.15041.2

手机工具 下载