Skip to content

Instantly share code, notes, and snippets.

@therobot
Created September 28, 2009 12:09
Show Gist options
  • Save therobot/195381 to your computer and use it in GitHub Desktop.
Save therobot/195381 to your computer and use it in GitHub Desktop.
complete -W "$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ' ' | sed -e s/,.*//g | uniq | grep -v "\["`;)" ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment