吵吵   2011-06-19  阅读:4,100

最近在玩openwrt在ubuntu用ssh登陆操作,刚开始玩的时候真的是很爽啊,简直就是台微型电脑嘛
有次中断了之后登陆发现登陆不了 出现了一下情况:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
b6:0c:41:43:60:79:eb:05:9e:c9:72:1d:a0:41:9a:50.
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:5
RSA host key for 192.168.10.88 has changed and you have requested strict checking.
Host key verification failed.
原来就是远端的主机的密钥改变了么
网上搜了很多,啥把那192.168.1.1的ras给删除了之类
打开之后发现是木有的
最后不管了
直接打开 vim ~/.ssh/known_hosts
dd两下全部删除了
然后:wq保存一下就ok了
更简单方法是 rm ~/.ssh/known_hosts
哈哈 直接删除之 省的这么烦人。

吵吵微信朋友圈,请付款实名加入:

吵吵 吵吵

3条回应:“linux下ssh登陆出现错误”

  1. YangJifeng说道:

    这篇文章我转载了。谢谢博主提供的方法,很实用!如果不宜转载,请告知我,我将立刻删除~!

  2. […] 原文地址:http://www.chaochaoblog.com/archives/356 Tags: 转载 Category: 转载 This entry was posted 星期四, 30 六月, 2011 at 13:25 You can follow any responses to this entry via RSS. You can leave a comment or trackback from your own site. Cancel reply […]

发表评论

电子邮件地址不会被公开。 必填项已用*标注