def without_host_key_checking_windows(&callback)
      config_path = ::File.expand_path(::File.join(home_dir_windows, '.ssh', 'config'))
      config_text = <<EOF
Host *
  StrictHostKeyChecking no
EOF
      with_replaced_file(config_path, config_text, &callback)
    end
def without_host_key_checking_windows(&callback)
      config_path = ::File.expand_path(::File.join(home_dir_windows, '.ssh', 'config'))
      config_text = <<EOF
Host *
  StrictHostKeyChecking no
EOF
      with_replaced_file(config_path, config_text, &callback)
    end
The "ssh.exe" that comes with msysgit doesn't appear to configure things
 properly under Windows (or it does for SYSTEM account but not user
 accounts) when disabling strict hostname checking. We can instead
 temporarily create/replace the "%USERPROFILE%\.ssh\config" file to disable
 checking for all hostnames.

 @yield after disabling strict host key checking, yields to caller