You are not logged in.
Pages: 1
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.
how can i get the remote hostnames to complete using [tab] again?
Last edited by pradtf (2009-06-16 20:23:03)
in friendship,
prad
Offline
Did you install bash-completion ?
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
yes bash-completion is there and working just fine ... except for remote hostnames.
in friendship,
prad
Offline
the solution was presented to by aaron and daenyth from the arch-general@archlinux.org list:
1) shutoff the host-hashing setting for ssh.
In /etc/ssh/ssh_config (or your ~/.ssh/config), set "HashKnownHosts no"
2) delete existing hashed lines so they can be regenerated
easiest way to do this was to rm .ssh/known_hosts
now remote host completion works just fine!
in friendship,
prad
Offline
Pages: 1