ssh-wrapper
1.0.3 • Public • Published SSH Wrapper
Executes a shell command over an SSH connection.

Methods
.exec(obj config, string command)
Executes a command over SSH.
Expects a config object:
{
user: 'user',
host: 'host',
[key: 'private/key/file/path']
}
Returns a Promise containing the stdout output, or stderr in case of an error.
Package Sidebar
Install
Weekly Downloads