ITPub博客

首页 > Linux操作系统 > Linux操作系统 > linux下scp错误(REMOTE HOST IDENTIFICATION HAS CHANGED)

linux下scp错误(REMOTE HOST IDENTIFICATION HAS CHANGED)

原创 Linux操作系统 作者:wwd_wang 时间:2009-10-22 08:25:21 0 删除 编辑
在执行scp 命令服务器之间相互传输文件时出现以下错误了,根本还没要求我输入密码呢.就出错.
[oracle@test1 dbs]$ scp orapweslhdb01  oracle@10.10.10.2:/data/
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
18:09:a8:4a:65:92:8b:d2:fa:bb:68:53:66:fd:e3:51.
Please contact your system administrator.
Add correct host key in /home/oracle/.ssh/known_hosts to get rid of this message.
Offending key in /home/oracle/.ssh/known_hosts:8
RSA host key for 10.10.10.2 has changed and you have requested strict checking.
Host key verification failed.
lost connection

经查资料解决方法如下:

  1. rm -rf  /root/.ssh/

/root/.ssh/ 目录下是存放是SSH连接的相关信息.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12137615/viewspace-617138/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-05-08

  • 博文量
    236
  • 访问量
    233989