I found an explanation how to abbreviate host names for ssh connections. It can be found here.
So basically you add these lines to .ssh/config
:
Host foo
HostName IP-adress-of-server
Now you can connect with:
ssh foo
if you have the same username on host and client or
ssh user@foo
to use a certain username.
If you have any questions, suggestions, thoughts and comments please feel free to email me.
License of this blog post:
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.