Live data from Hacker News

A command line tool to manage your ssh connections

github.com

1–10 of 33 posts

Re: A command line tool to manage your ssh connections

#3
post #2

more easy to write bash aliases like alias ssh-web="ssh username@host" and you take bash completion support

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

#5
post #2

more easy to write bash aliases like alias ssh-web="ssh username@host" and you take bash completion support

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

Re: A command line tool to manage your ssh connections

#6
I hate to be snarky but having read through the code this really isn't a big thing. It's a tool for people that can't use .ssh/config.

Manage your SSH like a boss? Perhaps, but only in the pointy-haired can't-read-man-ssh_config boss sense of the word.

For those that don't want to install a script and would prefer to understand the tools they already have try this:

http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-...

Post reply on HN