Re:Show HN: S – a tool for ssh like z for cd
by jamiesonbecker on Sunday March 01, 2015 @05:03PM
(#9129086)
fwiw, bash autocompletion does this automagically, too, but you might need to enable it. .ssh/config is definitely the canonical place to keep this stuff, but I like @haosdent's ranking concept. some of my boxes I rarely log into, and others I log into all the time.
Re:Show HN: S – a tool for ssh like z for cd
by philippnagel on Sunday March 01, 2015 @06:18PM
(#9129370)
General thumbs up for Fish!
When I type `ssh<tab>`, I get a list of hosts from my ~/.ssh/config plus hosts I have previously used.
I can actually use `ssh hn<tab>` and it gets auto-completed to `ssh hostname` because "hostname" is configured in my ssh config. The same works for `ssh user@<tab>`