免费注册 查看新帖 |

Chinaunix

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

ssh的认证机制问题,刚发到linux版没人理。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-06-10 10:32 |只看该作者 |倒序浏览
两台服务器简称A和B \r\nA机使用ssh登录到B机,之后B机重新安装,A机再次使用ssh登录时提示: \r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ \r\n@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @ \r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ \r\nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! \r\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)! \r\nIt is also possible that the RSA host key has just been changed. \r\nThe fingerprint for the RSA key sent by the remote host is \r\n98:70:c8:db:51:23:9d:43:5a:74:23:48:43:ba:fd:05. \r\nPlease contact your system administrator. \r\nAdd correct host key in /root/.ssh/known_hosts to get rid of this message. \r\nOffending key in /root/.ssh/known_hosts:7 \r\nRSA host key for 10.0.2.15 has changed and you have requested strict checking. \r\nHost key verification failed. \r\n使用C机ssh登录到B机一切正常,请问如何解决这种问题。

论坛徽章:
0
2 [报告]
发表于 2005-06-10 10:43 |只看该作者

ssh的认证机制问题,刚发到linux版没人理。

B机重新安装
\r\n\r\npublic_key当然就没有了

论坛徽章:
0
3 [报告]
发表于 2005-06-10 10:45 |只看该作者

ssh的认证机制问题,刚发到linux版没人理。

把 ~/.ssh/knownhosts里面B机的hostkey删除掉

论坛徽章:
0
4 [报告]
发表于 2005-06-10 10:55 |只看该作者

ssh的认证机制问题,刚发到linux版没人理。

[quote]原帖由 \"archangle\"]把 ~/.ssh/knownhosts里面B机的hostkey删除掉[/quote 发表:\n搞定了,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP