当前位置: 技术问答>linux和unix
关于远程拷贝scp的问题,谢谢!
来源: 互联网 发布时间:2015-11-01
本文导语: [root@localhost bugs]# scp /bin/cp root@192.168.3.153:/home @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOM...
[root@localhost bugs]# scp /bin/cp root@192.168.3.153:/home
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
3e:d7:7e:5a:04:6d:15:27:d6:b0:b9:be:d0:15:2c:e5.
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:3
RSA host key for 192.168.3.153 has changed and you have requested strict checking.
Host key verification failed.
lost connection
大家帮我分析下什么原因阿?该如何解决呢?
我看了本机和远程机器上的/root/.ssh 没什么异常阿
" Press ? for keyboard shortcuts
" Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
"= /root/.ssh/
../
known_hosts
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
3e:d7:7e:5a:04:6d:15:27:d6:b0:b9:be:d0:15:2c:e5.
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:3
RSA host key for 192.168.3.153 has changed and you have requested strict checking.
Host key verification failed.
lost connection
大家帮我分析下什么原因阿?该如何解决呢?
我看了本机和远程机器上的/root/.ssh 没什么异常阿
" Press ? for keyboard shortcuts
" Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
"= /root/.ssh/
../
known_hosts
|
vi /root/.ssh/known_hosts:3
把192.168.3.153那一行删掉就行了。
把192.168.3.153那一行删掉就行了。
|
将你当前用户根目录下的.ssh/known_hosts文件清空或删除。
#echo >~/.ssh/known_hosts
#echo >~/.ssh/known_hosts
|
UP
|
远程机器改变的密匙吧。
删除本机的密匙就可以了。
rm -fr ~/.ssh
删除本机的密匙就可以了。
rm -fr ~/.ssh