scpto copy files between Linux/Windows systems, and
sshto remotely log in. In our work environment, we frequently redeploy new virtual machine ISOs. This causes
sshto complain because the host's key has changed. Following the steps at I found at Linux Commando, here is how to configure SSH to disable the standard check for keys. NOTE: This can prevent SSH from detecting a real man-in-the-middle attack, so use with caution. I have configured this to only work with internal IP's. There are two ways to do this. The once-only way is from the command line:
$ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=noThis tells ssh to use
known_hostsfile, and to not use strict host key checking. For a more permanent way, put the following into the beginning of your
Host 192.168.* StrictHostKeyChecking no UserKnownHostsFile=/dev/null(In my case
192.168.*refers to the internal network. Your environment may be different.)
This works on both Linux and Cygwin.