Skip to content

Instantly share code, notes, and snippets.

@gil-obradors
Created May 11, 2021 10:46
Show Gist options
  • Save gil-obradors/5f1c5cb659857d60c2eaebe58eb28244 to your computer and use it in GitHub Desktop.
Save gil-obradors/5f1c5cb659857d60c2eaebe58eb28244 to your computer and use it in GitHub Desktop.
Disaster recovery from my pc
# Unhash ~/.ssh/known_hosts
HashKnownHosts
if $(grep -q "HashKnownHosts" /etc/ssh/ssh_config 2>&1 > /dev/null ) ; then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment