diff --git a/plugins/communicators/ssh/communicator.rb b/plugins/communicators/ssh/communicator.rb index 9ab36aa2a..f9c76c4f6 100644 --- a/plugins/communicators/ssh/communicator.rb +++ b/plugins/communicators/ssh/communicator.rb @@ -449,7 +449,7 @@ module VagrantPlugins end # 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 ch2.send_data "exit\n"