在执行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
经查资料解决方法如下:
/root/.ssh/ 目录下是存放是SSH连接的相关信息.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12137615/viewspace-617138/
,如需转载,请注明出处,否则将追究法律责任。