If you use '~/.ssh/config' with SSH, add this to your '~/.bash_profile' file to add autocompletion for all your servers: complete -f -d -W "$(grep '[Hh]ost ' ~/.ssh/config | grep -v '*' | awk '{print $2}')" ssh scp If…
If you use '~/.ssh/config' with SSH, add this to your '~/.bash_profile' file to add autocompletion for all your servers: complete -f -d -W "$(grep '[Hh]ost ' ~/.ssh/config | grep -v '*' | awk '{print $2}')" ssh scp If…