Host key verification failed.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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 ECDSA key sent by the remote host is

SHA256:pLd14KlgvIcBTqSSXn2FGqpS5sMpmGrzqH6AhRe2nQw.

Please contact your system administrator.

Add correct host key in /var/root/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /var/root/.ssh/known_hosts:1

ECDSA host key for 10.8.26.132 has changed and you have requested strict checking.

Host key verification failed.

 

 

dreamy:~ dreamy$ ssh-keygen -R 10.8.26.132

# Host 10.8.26.132 found: line 1

/Users/dreamy/.ssh/known_hosts updated.

Original contents retained as /Users/dreamy/.ssh/known_hosts.old

意思就是你該刪東西了。。

解決辦法:

1.cd ~/.ssh/

2.rm known_hosts

 

比如:

dreamy:~ dreamy$ cd ~/.ssh/

dreamy:.ssh dreamy$ ls  

known_hosts known_hosts.old

dreamy:.ssh dreamy$ pwd

/Users/dreamy/.ssh

dreamy:.ssh dreamy$ rm known_hosts

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章