From 447d6810f7cbadf60e78dc732411f56824159314 Mon Sep 17 00:00:00 2001 From: mxtthias Date: Fri, 8 Jun 2012 14:13:13 +0200 Subject: [PATCH] Explicitly tell ssh server we're done sending data --- lib/vagrant/communication/ssh.rb | 3 +++ 1 file changed, 3 insertions(+) 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