ssh remote host identification has changed

前端 未结 29 2060
故里飘歌
故里飘歌 2020-12-02 03:02

I\'ve reinstalled my server and I am getting these messages:

[user@hostname ~]$ ssh root@pong
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@           


        
29条回答
  •  一生所求
    2020-12-02 04:07

    Here is the simplest solution

    ssh-keygen -R 
    

    For example,

    ssh-keygen -R 192.168.3.10
    

    From ssh-keygen man page:

    • -R hostname Removes all keys belonging to hostname from a known_hosts file. This option is useful to delete hashed hosts (see the -H option above).

提交回复
热议问题