Disable SSH host key check for local network

If one has an odd setup with SSH hosts regularly changing SSH host keys on a local network (like in my case regularly re-flashed embedded devices which generates SSH host keys at each first boot), it might be handy to disable the host key checking for these hosts, just add this to your ~/.ssh/config:

Host 192.168.*.*
    StrictHostKeyChecking no

Of course you need to consider the security implications: for instance if you got not only "phisically" local hosts under 192.168.*.* (like remote servers via VPN), you might consider a more fine-grained configuration.

Currently unrated