Re: Disabling host key checking on LAN

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

 



On Fri, Aug 28, 2015 at 11:51 PM, Walter Carlson <wlcrls47@xxxxxxxxx> wrote:
> On Thu, Aug 27, 2015 at 12:26 AM, Walter Carlson <wlcrls47@xxxxxxxxx> wrote:
>
>> Perfect, thanks.  This winds up working for me (as far as I've tested so
>> far.)
>>
>> Match exec "ping -q -c 1 -t 1 %n | grep '192\.168\.'"
>>    StrictHostKeyChecking no
>>    UserKnownHostsFile none
>>
>
> For the record, the last line has to be "UserKnownHostsFile /dev/null".  I
> saw "none" being used in others' openssh examples, but for me, that's using
> the file ~/none rather than being interpreted as "don't use one".

If you've installed the relevant "bind-utils" or similar DNS package,
can't you ust use "host %n  | grep ' 192\.168\\." ? It's faster than
running ping, especially for non-responsive hosts.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux