This is just a complement of the answer of Book Of Zeus. In case you don't have root access (sudo), you can still configure it.
You need to edit your "user ssh_config" file which is:
(Note: you would have to create the directory $HOME/.ssh if it does not exist)
You can do so on a per host basis if required :) example:
Make sure the IP address match your server IP. One cool advantage is that now ssh will provide autocomplete for this server. So you can type
ssh lin +
Tab and it should autocomplete to
You can add a bunch of usefull options so that you don't have to type them each time:
User <a user>
Port <a port number>
IdentityFile <a specific private key>
So instead of typing
ssh -C -p 1022 -i ~/.hidden/prv-key-4096bit firstname.lastname@example.org a simple
ssh linux-srv would suffice!