1.0.3 • Published 7 years ago

ssh-wrapper v1.0.3

Weekly downloads
16
License
MIT
Repository
github
Last release
7 years ago

SSH Wrapper

Executes a shell command over an SSH connection.

Greenkeeper badge

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.

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago