Skip to content

Instantly share code, notes, and snippets.

@carlosjs23
Created October 15, 2016 02:32
Show Gist options
  • Save carlosjs23/9d05ef9d4b905a6b5b93a557530cc78e to your computer and use it in GitHub Desktop.
Save carlosjs23/9d05ef9d4b905a6b5b93a557530cc78e to your computer and use it in GitHub Desktop.
How to quickly connect to an SSH Server
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