From a7cc40225814c91df2ba8926ced07649719a45bc Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Thu, 9 Jan 2014 09:53:35 +0900 Subject: [PATCH] vagrant ssh accept utf8, fix #2744 Signed-off-by: Hiroshi Miura --- plugins/communicators/ssh/communicator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"