I am not a expert on node usually i would try to troubleshoot and hack the thing till it works but i am short on time and need some advice
using the NPM-ssh2 package i want to be able to execute a command on my customer router
i just need to know the easiest way to do this as the npm docs are not giving me much joy this is what i have so far and it works connects no problem now i need to know how to exec the commands on the remote system
var Client = require('ssh2').Client
const password = 'squerespace1001';
var office = new Client();
office.connect({
host: '192.168.1.1',
username: 'admin',
port: 22,
password: password
});