Created
October 18, 2011 01:58
-
-
Save un33k/1294435 to your computer and use it in GitHub Desktop.
create a config file in your .ssh file and set easy aliases (ssh web1), it will pass your name in as well
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
| #vi .ssh/config | |
| # add the following, you can repeat the pattern for each of your hosts | |
| Host web1 | |
| HostName 192.168.15.129 | |
| User val | |
| Port 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment