Skip to content
Rezha Julio
Go back

Remove Entry from Known Host

1 min read

Sometimes I am moving my domain from one server to another and facing this problem

Terminal window
Add correct host key in /home/rezha/.ssh/known_hosts to get rid of this message.
Offending key in /home/rezha/.ssh/known_hosts:60
RSA host key for rezhajulio.id has changed and you have requested strict checking.
Host key verification failed.

I am just too lazy to find line 60 of known_host I ended up deleting the entire known_host. Use this command to remove entries from known_hosts:

Terminal window
ssh-keygen -R rezhajulio.id

Change it with your own conflicted hostname or IP address


Related Posts


Previous Post
Fix GDM Service Can't be Enabled on Arch Linux
Next Post
Installing or Upgrading PostgreSQL 9.4 on Ubuntu 14.04