分类: LINUX
2011-09-14 08:54:43
[root@linux root]# scp /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 is
50:53:99:1e:c6:d9:36:39:b4:75:e6:4b:42:ab:94:b4.
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 172.31.0.101 has changed and you have requested strict checking.
Host key verification failed.
如何解决,
用ssh 拷贝文件遇到的问题??
172.31.0.101的KEY变了
vi /root/.ssh/known_hosts
去掉172.31.0.101那行
重新连接
另外,你如果加个-rp参数,将复制整颗树过来,而且保留属主和权限