Created
August 6, 2018 21:29
-
-
Save tgenlschmidt/21eefa146e2fa4d958a770435a800b20 to your computer and use it in GitHub Desktop.
Show hosts you can SSH into from ~/.ssh/config
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
grep -w -i "Host" ~/.ssh/config | sed 's/Host //' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment