oktw says to #ysitd
<mmis1000>: }, function(client) { console.log('Client connected!'); var term, terminal; client.on('authentication', function(ctx) { if (ctx.username !== 'root') { return ctx.reject(['password']); } else if (ctx.method !== 'password') { return ctx.reject(['password']); } else { ctx.accept(); } })