LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 942|回复: 4

无法远程登录我的gentoo

[复制链接]
发表于 2006-10-13 14:18:41 | 显示全部楼层 |阅读模式
.44上的sshd运行了,,要登录时提示:   
gw logs # ssh 192.168.1.44 -l lpc
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
1b:9b:25:ee:cc:24:89:93:fa:64:96:dd:06:08:4e:24.
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:4
RSA host key for 192.168.1.44 has changed and you have requested strict checking.
Host key verification failed.
发表于 2006-10-13 14:26:26 | 显示全部楼层
rm -rf  ~/.ssh
回复 支持 反对

使用道具 举报

发表于 2006-10-13 22:10:34 | 显示全部楼层
rm -rf ~/.ssh/known_hosts
回复 支持 反对

使用道具 举报

发表于 2006-10-13 22:21:11 | 显示全部楼层
sed -i -e "/192.168.1.44/d" ~/.ssh/known_hosts
回复 支持 反对

使用道具 举报

发表于 2006-10-14 19:15:25 | 显示全部楼层
Post by zhllg
sed -i -e "/192.168.1.44/d" ~/.ssh/known_hosts


这个方法挺好。
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表