我重新安装了我的服务器,现在出现了以下这些信息:
[user@hostname ~]$ ssh root@pong
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
6e:45:f9:a8:af:38:3d:a1:a5:c7:76:1d:02:f8:77:00.
Please contact your system administrator.
Add correct host key in /home/hostname /.ssh/known_hosts to get rid of this message.
Offending RSA key in /var/lib/sss/pubconf/known_hosts:4
RSA host key for pong has changed and you have requested strict checking.
Host key verification failed.
我尝试了在互联网上找到的各种解决方案。我的known_hosts
文件(通常在~/.ssh/known_hosts
中)位于/var/lib/sss/pubconf/known_hosts
。我尝试编辑它,但它仍然保持在一个状态。我已经安装了ipa-client并且使用的是Fedora 19。我该如何解决这个警告?
到目前为止,所有回答都只适用于未安装Freeipa的情况。
有关freeipa的正确答案在下面的评论中由adrin提供here。