News for hackers. Stuff that matters.
Re:Simplify your life with an SSH config file by swalberg on Saturday October 20, 2012 @12:54PM (#4677519)
If you add the following to your .bash_profile, you'll get command line completion of your hosts:

  function _ssh_completion() {
    perl -ne 'print "$1 " if /^[Hh]ost (.+)$/' ~/.ssh/config
  }
  complete -W "$(_ssh_completion)" ssh
Re:Simplify your life with an SSH config file by jperras on Saturday October 20, 2012 @02:50PM (#4677865)
I use ZSH, which if configured properly will also do this for you. Huge timesaver when I need to connect to a half-dozen hosts.
Re:Simplify your life with an SSH config file by paxswill on Saturday October 20, 2012 @06:45PM (#4678396)
The standard bash_completion[0] package includes SSH host completion.

[0] http://bash-completion.alioth.debian.org/