One of the great things about OSX is the underlying unix environment. I regularly use terminal.app to ssh, ftp, and whatnot.
Today I stumbled upon this tip for adding tab completion to the ssh command – simply add the following to your .bash_profile and now ssh can tab complete using the list of known hosts in your .ssh directory:
complete -W “$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ‘ ‘ | sed -e s/,.*//g | uniq | grep -v “\[“`;)” ssh
Thanks to macoxshints or the details


