From 0ac93e70f6746b12125246c085e4d25f458a3b5d Mon Sep 17 00:00:00 2001 From: William Mantly Jr Date: Fri, 13 Oct 2017 00:43:48 -0400 Subject: [PATCH] Update lxc.js --- lxc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.js b/lxc.js index ab544d1..6018fe4 100644 --- a/lxc.js +++ b/lxc.js @@ -5,7 +5,7 @@ var exec = require('child_process').exec; function sysExec(command, ip, callback){ ip = ip || '104.236.77.157'; command = new Buffer(command).toString('base64') - command = 'ssh -i ~/.ssh/clw_rsa -o StrictHostKeyChecking=no virt@'+ ip + ' "echo ' + command + '|base64 --decode|bash"'; + command = 'ssh -i ~/.ssh/clw_rsa -o "StrictHostKeyChecking no" virt@'+ ip + ' "echo ' + command + '|base64 --decode|bash"'; // command = 'unset XDG_SESSION_ID XDG_RUNTIME_DIR; cgm movepid all virt $$; ' + command; return exec(command, (function(callback){