New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

shh

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shh

Quiet the ssh client.

latest
Source
npmnpm
Version
0.3.3
Version published
Maintainers
1
Created
Source

shh

A simple ssh client library for node.js. Password authentication is not allowed, so make sure you setup an identity file first.

Usage

var shh = require('shh');

client = new shh.Client({
    host: 'example.com',
    username: 'zeekay'
});

client.connect(function() {
    client.exec('ls', function (err, out) {
        console.log(out);
        client.close();
    });
});

You can also stream stdout and stderr line by line:

client.on('stdout', function (line) {
    console.log(line);
});

Keywords

client

FAQs

Package last updated on 20 Nov 2013

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