Created
April 3, 2020 21:15
-
-
Save NazmusShakib/73e5e603348d65e8bac274b07982c773 to your computer and use it in GitHub Desktop.
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
## Create a file in '~/.ssh' directory called 'config' and set below code with valid configuration. | |
## Then simply type 'ssh example-1.com' to go there. | |
Host example-1.com | |
Hostname 00.000.000.000 | |
User ubuntu | |
IdentityFile ~/.ssh/pem-files/example-1.pem | |
Host example-2.com | |
Hostname 000.000.000.000 | |
User ubuntu | |
IdentityFile ~/.ssh/pem-files/example-2.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment