Created
January 14, 2014 12:03
-
-
Save ephrin/8417274 to your computer and use it in GitHub Desktop.
ssh username/connection alias
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
Create a file named ~/.ssh/config and put this in there: | |
Host h | |
User christopher | |
HostName my.domain.top | |
Now you only have to type ssh h and it does the same thing! | |
You can also use a wildcard: | |
Host * | |
User christopher |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment