|
|
|
|
|
by patio11
4440 days ago
|
|
A trick I learned recently: create .ssh/config File format: as many of the following blocks as you like Host $ALIAS <-- whatever you want here
Hostname www.example.com
User someuser
Port 1234
You can now ssh to that server as that user by doing "ssh $ALIAS" on the command line, without needing to specify the port or user with the usual command line arguments, or necessarily spell out the entire host name. |
|