LinuxSir.cn,穿越时空的Linuxsir!

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

ssh?

[复制链接]
发表于 2004-5-11 16:45:08 | 显示全部楼层 |阅读模式
一样的配置,A机能SSH到B机,但B机SSH到A机提示如下:
[root@BBN ssh]# ssh 172.16.12.60

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
e8:32:a2:98:ac:13:3c:df:00:42:ad:2e:a4:2a:08:de.
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:1
RSA host key for 172.16.12.60 has changed and you have requested strict checking.
Host key verification failed.
lost connection
[root@BBN ssh]#

请问这是怎么回事呢!
发表于 2004-5-12 05:46:56 | 显示全部楼层
试过 ssh -l yourusername 172.16.12.60 吗?
 楼主| 发表于 2004-5-12 10:50:06 | 显示全部楼层
呵呵,我昨天搞定了,大家猜怎么着,我换了一个IP就OK了,真是晕!要是我用静态的IP,不能换地址的那岂不是死定了啊,难道一定要换IP才能成功的吗?
发表于 2004-7-2 03:40:26 | 显示全部楼层
从A机上将.ssh/know_hosts中相映的公匙删去即可。
发表于 2004-7-2 04:43:40 | 显示全部楼层
最初由 yongjian 发表
从A机上将.ssh/know_hosts中相映的公匙删去即可。


或者用vi 将那地址在know_hosts中去掉
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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