Created
July 8, 2013 11:57
-
-
Save SemanticallyNull/5948153 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
if [[ -n $1 ]]; then | |
sed -i -e "${1}d" ~/.ssh/known_hosts | |
else | |
echo "USAGE: ${0} [line number] | |
fixhost | |
A quick command line tool to remove a line from your known hosts file to get it up and running again quickly." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment