Daniel Hoelbling-Inzko talks about programming
This may be old news to anyone somewhat used to Linux server administration, but Jammm just enlightened me so I thought I'd share.
Say you don't have a hostname associated with your server (yet), you may get bored of writing ssh [email protected]
all the time. Assuming you are using public key authentication anyways (and you should!) writing ssh myserver
would be far more convenient.
Turns out you can do that by modifying the ~/.ssh/config
file like this:
Host myserver HostName 192.168.0.1 Port 22 User root