ssh remote host identification has changed

前端 未结 29 2093
故里飘歌
故里飘歌 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:06

    Simply clear the known_hosts which is present in /home/{username}/.ssh/known_hosts

    vi /home/{username}/.ssh/known_hosts 
    

    remove every line inside known hosts and exit after that you will be able to login.

    OR

    run this command

    ssh-keygen -R "hostname/ip_address" 
    

提交回复
热议问题