Open bgobi1991 opened 9 years ago
Hi Team,
I got following error when executing commands.
var connection_options = { port: 22, username: 'myusername', password: 'mypassword' };
var hosts = [ 'myhost' ]; var cmds = [ 'ls -l', 'cat /etc/hosts' ]; rexec(hosts, cmds, connection_options, function(err){ if (err) { console.log(err); } else { console.log('Great Success!!'); } });
Getting the same error. Have you found a solution by any chance?
changing the param from passphrase to password works.
Hi Team,
I got following error when executing commands.
var connection_options = { port: 22, username: 'myusername', password: 'mypassword' };