Skip to content

Instantly share code, notes, and snippets.

@h3nr1ke
Created October 22, 2018 14:56
Show Gist options
  • Save h3nr1ke/5e7787da19be137aa2fc9390a98be34b to your computer and use it in GitHub Desktop.
Save h3nr1ke/5e7787da19be137aa2fc9390a98be34b to your computer and use it in GitHub Desktop.
ERROR ECDSA host key for <IP> has changed and you have requested strict checking. Host key verification failed. devestapar@markVI:~/Documents/DEV/chav
# sometimes its possible to get this error when your are trying to connect to a remote server using ssh
#if the message appear
ERROR ECDSA host key for <IP> has changed and you have requested strict checking.
Host key verification failed.
# you can run
ssh-keygen -R <IP>
# Host<IP> found: line 19
/Users/<USER>/.ssh/known_hosts updated.
Original contents retained as /Users/<USER>/.ssh/known_hosts.old
# and then try to connect again
=)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment