Merge pull request #3355 from miurahr/fix_ssh_utf8

core: force SSH to be ASCII
This commit is contained in:
Mitchell Hashimoto 2014-04-01 21:52:39 -07:00
commit 188d3c394f
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ module VagrantPlugins
end end
# Output the command # Output the command
ch2.send_data "#{command}\n" ch2.send_data "#{command}\n".force_encoding('ASCII-8BIT')
# Remember to exit or this channel will hang open # Remember to exit or this channel will hang open
ch2.send_data "exit\n" ch2.send_data "exit\n"