Stocard/node-ssh-forward

Missing support for returning shell stdout?

Opened this issue · 1 comments

I may be missing how this is accomplished, but it seems like you should be able to return the stdout result from the executeCommand.

Example:
...
let result=await ssh.executeCommand('uptime')
console.log(result)

16:04:14 up 1079 days, 18:31, 1 user, load average: 0.00, 0.00, 0.00

same issue.