Created
December 9, 2013 10:28
-
-
Save rizo/7870199 to your computer and use it in GitHub Desktop.
Remove offending key from known_hosts.
This file contains hidden or 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
| remove() { perl -i -NE "print unless $1 .. $1" ~/.ssh/known_hosts; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment