Disabling host key checking on LAN

Walter Carlson wlcrls47 at gmail.com
Sat Aug 29 13:51:38 AEST 2015


On Thu, Aug 27, 2015 at 12:26 AM, Walter Carlson <wlcrls47 at gmail.com> 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".


More information about the openssh-unix-dev mailing list