Created
July 15, 2013 16:30
-
-
Save niraj-shah/6001377 to your computer and use it in GitHub Desktop.
Config file for SSH logins
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
# Example using private key | |
Host ServerName1 | |
User root | |
HostName serverone.com | |
Port 2222 | |
IdentityFile ~/servername1.pem | |
# Example that requires password | |
Host ServerName2 | |
User ubuntu | |
HostName servertwo.com | |
Port 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment