diff --git a/lib/vagrant/ssh.rb b/lib/vagrant/ssh.rb index 6bbb8cfc6..3f9af307b 100644 --- a/lib/vagrant/ssh.rb +++ b/lib/vagrant/ssh.rb @@ -115,12 +115,7 @@ module Vagrant require 'timeout' Timeout.timeout(env.config.ssh.timeout) do - execute(:timeout => env.config.ssh.timeout, :port => ssh_port) do |ssh| - # We run a basic command to test that the shell is up and - # ready to receive commands. Only then is our SSH connection - # truly "up" - return ssh.exec!("echo hello") == "hello\n" - end + execute(:timeout => env.config.ssh.timeout, :port => ssh_port) { |ssh| } end false