SSH登錄錯誤 WARNING: REMOTE HOST IDENTIFICATION HAS CH

SSH登錄錯誤 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!ssh

3.解決方案:
this

$ ssh-keygen -R 192.168.10.20spa

known_hosts updated..net

Original contents retained as known_hosts.oldorm


Connection to 192.168.10.20 closed.rem

[root@localhost  ~]# ssh 192.168.10.88get

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@it

@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @io

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@sed

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. 

1.在客戶端執行下述指令便可 #mv /root/.ssh/known_hosts /tmp

2.固然也能夠直接編輯known_hosts文件,把裏面與所要鏈接IP(192.168.10.20)相關的內容刪掉便可.

3.解決方案:

$ ssh-keygen -R 192.168.10.20

known_hosts updated.

Original contents retained as known_hosts.old

相關文章
相關標籤/搜索