I use bash as shell and usually the autocompletion (with bash-completion) works well.
Until I create some Include files...
Not a final one for every one, but a quick workaround is :
- put your Include file in a directory, for example : ~/ssh/config.d
- add those config file in bash_completion configuration.
sudo vi /usr/share/bash-completion/bash_completion // Add your directory in the config file list for i in /etc/ssh/ssh_config ~/.ssh/config ~/.ssh/config.d/* ~/.ssh2/config; do [[ -r $i ]] && config+=( "$i" ) done
That's all folks.