From 1086baf65aff941f6b37851a06b9d9963dc2ec29 Mon Sep 17 00:00:00 2001 From: william Date: Fri, 27 May 2016 00:52:39 -0400 Subject: [PATCH] stuff --- lxc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.js b/lxc.js index 1b6acf0..9bf3796 100644 --- a/lxc.js +++ b/lxc.js @@ -4,7 +4,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 -o UserKnownHostsFile=/dev/null virt@'+ ip + ' "echo ' + command + '|base64 --decode|bash"'; + command = 'ssh -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){