16 Jun
2009
16 Jun
'09
7:51 p.m.
On Tue, Jun 16, 2009 at 2:37 PM, prad<prad@towardsfreedom.com> wrote:
i had remote host completion: ssh hostna[tab] with my original debian .bashrc file.
now with a new arch install it is gone and setting this export HOSTFILE=$HOME/.hosts doesn't bring it back even when i put the hostnames from /etc/hosts into that file.
bash-completion is there and working just fine - except for the remote host completion.
how can i get the remote hostnames to complete using [tab] again?
You need to shutoff the host-hashing setting for ssh. In /etc/ssh/ssh_config (or your ~/.ssh/config), set "HashKnownHosts no"