Re:A command line tool to manage your ssh connections
by cyholic on Tuesday May 21, 2013 @10:08AM
(#5743684)
more easy to write bash aliases like alias ssh-web="ssh username@host" and you take bash completion support
[ Parent
| on HN ]
Re:A command line tool to manage your ssh connections
by Newky on Tuesday May 21, 2013 @10:10AM
(#5743692)
There is bash completion for ssh.
Its included as part of the bash-completion package on most distributions of linux.
Its got extremely good completion support for hostnames
It has the added advantage of also auto-completing for scp.
Re:A command line tool to manage your ssh connections
by VaucGiaps on Tuesday May 21, 2013 @10:39AM
(#5743900)
SCP autocomplete is very useful indeed. Especially when using ControlMaster, then autocomplete is almost instantly.
Re:A command line tool to manage your ssh connections
by emre-yilmaz on Tuesday May 21, 2013 @10:11AM
(#5743697)
you can override some of the ssh options if you use it with sshconfig.
example ssh config: Host vps hostname 1.1.1.1 port 22 identityfile /home/emre/.ssh/vps.pub
If you want to override stuff, just do it like ssh vps -p 99.
And there is bash completion support with ssh, too. try it.
ssh <TAB>