No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.jshintrc
README.md
index.js
package.json

README.md

node-ssh-client

A simple SSH client for node.

Example

var ssh = require('ssh-client');
var username = '',
    host = '';

var client = ssh(username, host, function(){
    client.exec('ls -alh', function(err, out){
        console.log('ls result', out);
        client.exec('pwd', function(err, out){
            console.log('pwd', out);
            client.close();
        });
    });
});

Install

 npm install node-ssh-client

Testing

git clone
npm install
mocha

License

MIT