Last active
June 11, 2020 15:10
-
-
Save lackdaz/d7e9cdf70bee2b4bc3f1ad2bfd7dc10c to your computer and use it in GitHub Desktop.
deletes a known_hosts entry with pattern matching port 3095
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
sed '/3095/d' ~/.ssh/known_hosts > ~/.ssh/known_hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment