Created
September 9, 2016 02:36
-
-
Save ethan605/407fb35aa15a7c79f6347e72ad96e3a8 to your computer and use it in GitHub Desktop.
SSH config for multiple private keys
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 myshortname realname.example.com | |
HostName realname.example.com | |
IdentityFile ~/.ssh/realname_rsa # private key for realname | |
User remoteusername | |
Host myother realname2.example.org | |
HostName realname2.example.org | |
IdentityFile ~/.ssh/realname2_rsa | |
User remoteusername |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment