using short server names
12-08-20
%It use to be when I was trying to ssh into one of my servers I would just:
By adding something like this to your ~/.ssh/config
:
Host de1
HostName vxxxxxxxxxxxxxxxxxxxx.megasrv.de
User travis
Host de2
HostName vyyyyyyyyyyyyyyyyyyyymegasrv.de
User travis
Host de3
HostName vzzzzzzzzzzzzzzzzzzz.megasrv.de
User travis
Host nyc1
HostName 123.123.123.1233
User travis
sshing becomes as easy as:
$ ssh de2
source -- https://www.techrepublic.com/article/how-to-use-per-host-ssh-configuration/
- [ ssh]