[arch-general] bash remote host completion gone

Dan McGee dpmcgee at gmail.com
Tue Jun 16 20:49:24 EDT 2009


On Tue, Jun 16, 2009 at 3:18 PM, prad<prad at towardsfreedom.com> wrote:
> On Tue, 16 Jun 2009 16:05:51 -0400
> Daenyth Blank <daenyth+arch at gmail.com> wrote:
>
>> Additionally, you probably want to delete any hashed lines so they can
>> be regenerated later.
>>
> that did it!
>
> i tried what aaron suggested last night actually and just now, but it
> never occurred to be that the known_hosts file was already hashed and
> therefore changing HashKnownHosts to 'no' wouldn't help until i deleted
> the file and started over again.
>
> this is also much better because i can remove a specific host by name
> rather than using ssh-keygen -R, which would remove one of the hashed
> lines, but i'd have to go in manually to do the other.
>
> thx aaron and daenyth!!

Another option is to add them to your ~/.ssh/config file as Host
entries (with any additional settings), which also autocomplete
without having to remove the "security" of host name hashing.

-Dan


More information about the arch-general mailing list