Add ssh hosts for auto complete
To add ssh hosts which dont resolve or you can add short name:
cat ~/.ssh/config
Host myserver1
Hostname 3.4.5.6
Port 12345
Host myserver2-kvm
Hostname 202.1.2.3
User admin
To ssh you can use tab completion in terminal:
ssh mys<TAB>
See also:
http://superbiji.blogspot.co.id/2015/05/reuse-ssh-connection.html
cat ~/.ssh/config
Host myserver1
Hostname 3.4.5.6
Port 12345
Host myserver2-kvm
Hostname 202.1.2.3
User admin
To ssh you can use tab completion in terminal:
ssh mys<TAB>
See also:
http://superbiji.blogspot.co.id/2015/05/reuse-ssh-connection.html
Comments