Skip to content

Instantly share code, notes, and snippets.

@rot26
Created October 9, 2018 15:31
Show Gist options
  • Save rot26/e37f05797288af29391abdefc0855306 to your computer and use it in GitHub Desktop.
Save rot26/e37f05797288af29391abdefc0855306 to your computer and use it in GitHub Desktop.
[ssh remove hostname] #ssh
# ssh-keygen -R hostname [-f known_hosts_file]
HOSTNAME=""
ssh-keygen -R "${HOSTNAME}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment