![terminal-ssh](https://blog.earth-works.com/wp-content/uploads/2015/08/terminal-ssh-620x381.png)
Sometimes you may need to remove old ssh host keys from your known_hosts file. While you can edit this file by hand, there’s also a command that will let you remove the offending key(s) based on the hostname or IP:
ssh-keygen -R <Hostname or IP Address>
Leave a Reply