# Take from ~/.ssh/known_hosts
complete -W "$(echo `cat $HOME/.ssh/known_hosts | cut -f 1 -d ' ' | sed -e s/,.*//g | uniq | grep -v "\["`;)" ssh

# Take from ~/.ssh/known_hosts

if [ -f ${HOME}/.ssh/known_hosts ]; then
  complete -W "$(echo `cat ${HOME}/.ssh/known_hosts | cut -f 1 -d ' ' | sed -e s/,.*//g | uniq | grep -v "\["`;)" ssh
fi

Add guard for known hosts file
Add guard for known hosts file
