Created
September 29, 2017 17:10
-
-
Save mimizone/04d2d8df4d666e2b1caabbb11f0d9011 to your computer and use it in GitHub Desktop.
ssh cleanup / automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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