WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

CaptainYarb/node-ssh-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%