Explicitly tell ssh server we're done sending data

This commit is contained in:
mxtthias 2012-06-08 14:13:13 +02:00
parent b393de052f
commit 447d6810f7
1 changed files with 3 additions and 0 deletions

View File

@ -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