ssh config

I recently discovered a convenient shortcut for ssh hosts which works on a Mac but I expect it should work on any *nix system.  In the ~/.ssh folder you can create a file called config and add the following lines:
Host nickname
Hostname ipaddress.or.hostname
User username
Then when you want to ssh to that server you only have to type
ssh nickname
and the remaining information is automatically added.

No comments: