java中的接口是类吗
253
2022-10-31
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED
系统:rhel 6.5
问题描述:使用scp传送文件时,出现告警“WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!”,如下所示:
[root@localhost rmanbak]# scp ctl_i1158ubk_1_1.bak root@192.168.190.218:/tmp@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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 isea:ab:7c:4e:d0:61:6b:f6:cb:80:b7:32:79:d1:e6:e8.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:2RSA host key for 192.168.190.218 has changed and you have requested strict checking.Host key verification failed.lost connection
异常原因:
因为主机名为localhost的已经给IP为192.168.190.218生成过公匙. 然而IP为192.168.190.218的主机系统因某种原因被重建过,重建时使用了相同IP地址,那么当scp或者ssh相同IP的新主机时就会出现以上告警。
解决方案:
清除旧公匙信息.
[root@localhost rmanbak]# ssh-keygen-R 192.168.190.218
清除后,scp正常传送文件.
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~