diff --git a/lib/vagrant/util/ssh.rb b/lib/vagrant/util/ssh.rb index df4d86ca2..6087f81a4 100644 --- a/lib/vagrant/util/ssh.rb +++ b/lib/vagrant/util/ssh.rb @@ -140,7 +140,7 @@ module Vagrant end # no strict hostkey checking unless paranoid - if ssh_info[:verify_host_key] == :never + if ssh_info[:verify_host_key] == :never || !ssh_info[:verify_host_key] command_options += [ "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null"]