Skip to content

Instantly share code, notes, and snippets.

@mimizone
Created September 29, 2017 17:10
Show Gist options
  • Save mimizone/04d2d8df4d666e2b1caabbb11f0d9011 to your computer and use it in GitHub Desktop.
Save mimizone/04d2d8df4d666e2b1caabbb11f0d9011 to your computer and use it in GitHub Desktop.
ssh cleanup / automation
#automatic clean up of your ssh config/keys
ssh-keygen -R host
ssh-keyscan host
ssh -oStrictHostKeyChecking=no -l user -i key host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment