Prevent hostkey from being saved Add a section to ~/.ssh/config host 192.168.*.* StrictHostkeyChecking no UserKnownHostsFile /dev/null