Auto-completion support for ssh hostname.
This script reads hostnames from ~/.ssh/known_hosts and uses them to complete your ssh hostname.
Copy this file ~/.ssh/auto-completion.sh.
Add the following line to your ~/.bashrc or ~/.bash_profile:
source ~/.ssh/auto-completion.sh