ssh服务器端的key更换后,ssh客户端处理

为当前最终发行版之前的所有版本提供支持
回复
angus.w
帖子: 16
注册时间: 2007-06-06 10:20
送出感谢: 0
接收感谢: 0

ssh服务器端的key更换后,ssh客户端处理

#1

帖子 angus.w » 2007-06-21 23:26

自己的ubuntu7.04重新安装了一边,从家里面通过ssh连接出现错误

代码: 全选

angus@angus-desktop:/etc$ ssh [u]xxx.xxx.xxx.xxx[/u]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
[u]xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx[/u].
Please contact your system administrator.
Add correct host key in /home/[u]user[/u]/.ssh/known_hosts to get rid of this message.
Offending key in /home/[u]user[/u]/.ssh/known_hosts:1
RSA host key for [u]xxx.xxx.xxx.xxx[/u] has changed and you have requested strict checking.
Host key verification failed.
由于我这里只用了ssh连接这一个ssh的服务器端,所以直接把/home/user/.ssh/known_hosts文件里面的东西全部删除然后保存就可以了,如果连接过多个ssh服务器端则需要找到相应的RSA key删除就可以了
回复

回到 “老旧版本支持”