关于远程拷贝scp的问题,谢谢!

dlgy 2005-12-07 06:44:31
[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
...全文
152 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
winter_sui 2005-12-08
  • 打赏
  • 举报
回复
将你当前用户根目录下的.ssh/known_hosts文件清空或删除。
#echo >~/.ssh/known_hosts
gettext 2005-12-08
  • 打赏
  • 举报
回复
vi /root/.ssh/known_hosts:3

把192.168.3.153那一行删掉就行了。
dlgy 2005-12-08
  • 打赏
  • 举报
回复
恩,谢谢,搞定。
就是root/.ssh/known_hosts搞得鬼。
把对应远程的主机从这文件里删除就可以了。
robinswan 2005-12-08
  • 打赏
  • 举报
回复
远程机器改变的密匙吧。
删除本机的密匙就可以了。

rm -fr ~/.ssh
bekars 2005-12-07
  • 打赏
  • 举报
回复
UP

19,613

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧