SCP Error
Linux version: Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
两台机器的OS都由我安装,一台机器的scp可用,另一台机器的scp不可,使用scp时报如下错误:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
e4:7f:e0:89:b3:f8:f8:09:99:06:fb:c2:84:f9:08:e9.
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:1
RSA host key for 10.x.x.xhas changed and you have requested strict checking.
Host key verification failed.
试着把known_hosts重命名,再次运行scp,OK.发现scp会生一个新的known_hosts.
怀疑在运行scp安全验证是输入了no导致此错误的发生,经实验怀疑是不对的.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7419833/viewspace-368940/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7419833/viewspace-368940/