var exec = require('ssh-exec');
exec('who', {
user: 'user',
host: '192.168.1.1',
password: 'password'
}).pipe(process.stdout)
var exec = require('ssh-exec')
exec('ls -lh', {
"user": "de1m",
"host": "localhost",
"password": "pass"
}, function (err, stdout, stderr) {
console.log(err, stdout, stderr)
})