ssh remote host identification has changed

前端 未结 29 2096
故里飘歌
故里飘歌 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 03:43

    Use

    ssh-keygen -R [hostname]
    

    Example with an ip address/hostname would be:

    ssh-keygen -R 168.9.9.2
    

    This will update the offending of your host from the known_hosts. You can also provide the path of the known_hosts with -f flag.

提交回复
热议问题