Socket
Book a DemoInstallSign in
Socket

ssh-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssh-wrapper

[![Greenkeeper badge](https://badges.greenkeeper.io/grrr-amsterdam/ssh-wrapper.svg)](https://greenkeeper.io/)

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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.

Keywords

ssh

FAQs

Package last updated on 28 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts