TrinityTuts Tips

Fix host key verification failed mac

Last updated on July 2nd, 2019 at 09:54 pm

In this tip I can show how we can fix warning of SSH login REMOTE HOST IDENTIFICATION HAS CHANGED on Mac OS terminal. This error mainly occur when we rebuild our server and after that we try to login to our server via terminal.

Now you need to remove this entry by running below command

ssh-keygen -R YOUR_IP_OR_HOST

after hit enter you get this message.

/Users/admin/.ssh/known_hosts updated.

And after that try to login again to your server you can get screen as shown below enter yes and you ready to login to your server.

Hope this post help you 🙂 .