返回首页
当前位置: 主页 > 精通Office > Ubuntu教程 >

linux下ssh登陆出现错误

时间:2013-04-13 22:56来源:知行网www.zhixing123.cn 编辑:麦田守望者

最近在玩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
哈哈 直接删除之 省的这么烦人。

------分隔线----------------------------
标签(Tag):Ubuntu Linux 操作系统 Unix Android fedora debian
------分隔线----------------------------
推荐内容
猜你感兴趣