diff --git a/app.js b/app.js index a594b52..1e54a2d 100644 --- a/app.js +++ b/app.js @@ -117,7 +117,7 @@ io.on('connection', function(socket){ }); } setTimeout(()=>{ - term.write(`ssh ${sshuser}${sshhost} -p ${newport} \n`); + term.write(`ssh root@127.0.0.1 -p ${newport} \n`); },3000); console.log((new Date()) + " PID=" + term.pid + " STARTED on behalf of user=" + sshuser) term.on('data', function(data) {