Re: bash remote host completion gone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Jun 16, 2009 at 15:51, Aaron Griffin<aaronmgriffin@xxxxxxxxx> wrote:
> On Tue, Jun 16, 2009 at 2:37 PM, prad<prad@xxxxxxxxxxxxxxxxxx> 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"
>

Additionally, you probably want to delete any hashed lines so they can
be regenerated later.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux