免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1217 | 回复: 1
打印 上一主题 下一主题

[网络配置] SCP 命令错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-06-13 17:42 |只看该作者 |倒序浏览
使用SCP命令在服务器间传输文件是促销案一下错误:[root@centos ~]# ssh 192.168.1.2
root@192.168.1.2's password:
Last login: Wed Jun 13 17:14:43 2012 from 192.168.1.3[root@localhost ~]# scp /tmp/shfec.120330.dmp 192.168.1.3:/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
7a:a1:8e:85:00:4c:b1:fb:77:87:6d:e5:c7:31:f5:c7.
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 192.168.1.3 has changed and you have requested strict checking.
Host key verification failed.
lost connection
但是反向从192.168.1.3用SCP复制到192.168.1.2就没有问题,不知道是什么原因

论坛徽章:
0
2 [报告]
发表于 2012-06-17 13:20 |只看该作者
回复 1# colise0


    清除/root/.ssh/known_hosts 的内容

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP