diff --git a/lib/vagrant/communication/ssh.rb b/lib/vagrant/communication/ssh.rb index 8498b696b..44f1ade97 100644 --- a/lib/vagrant/communication/ssh.rb +++ b/lib/vagrant/communication/ssh.rb @@ -210,6 +210,9 @@ module Vagrant # Remember to exit or this channel will hang open ch2.send_data "exit\n" + + # Send eof to let server know we're done + ch2.eof! end end