Created
October 15, 2016 02:32
-
-
Save carlosjs23/9d05ef9d4b905a6b5b93a557530cc78e to your computer and use it in GitHub Desktop.
How to quickly connect to an SSH Server
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
1. Open or create ~/.ssh/config file. | |
2. Put your ssh configs like this example: | |
Host node1 | |
Hostname 172.16.0.2 | |
User carlos | |
Port 1022 | |
3. Enter as many blocks as you want. | |
4. Save and then use: ssh node1 to connect. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment