remove known_hosts entry with ssh keygen

July 3, 2017

The easiest way to remove an entry from the .ssh/known_hosts file is to use ssh-keygen:

ssh-keygen -R hostname
comments powered by Disqus