Delete Host Key on Mac/Linux

To delete your local host key, you just need to remove your “known_hosts” file, which you can do using the following command in your local Terminal window:

rm .ssh/known_hosts