Merge pull request #968 from mxtthias/ssh-command-eof

Explicitly tell ssh server we're done sending data
This commit is contained in:
Mitchell Hashimoto 2012-06-08 10:23:03 -07:00
commit be55534fe2
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