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%