ssh remote host identification has changed

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

    updated your ssh key, getting the above message is normal.

    Just edit ~/.ssh/known_hosts and delete line 4, as the message pointed you

    Offending RSA key in /Users/isaacalves/.ssh/known_hosts:4
    

    or use ssh-keygen to delete the invalid key

    ssh-keygen -R "you server hostname or ip"
    

提交回复
热议问题