Created
July 5, 2016 03:49
-
-
Save ktaragorn/081a64ad54d29ffd9a6acebc7b1ce5e1 to your computer and use it in GitHub Desktop.
Complicated ssh config with wildcards and DRY settings for many machines. http://stackoverflow.com/questions/38194800/ssh-config-file-setup-with-wildcards-and-dry
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
Host shortname1? | |
Hostname %h.prod.xyz.com | |
Host test-myname | |
Hostname combo.test-myname.xyz.com | |
Host *.xyz.com | |
Hostname %h | |
Match Host *.xyz.com | |
User myuser | |
Port 12345 | |
IdentityFile ~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment