Skip to content

tj/co-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

co-ssh

SSH client for generators.

Installation

$ npm install co-ssh

Example

var ssh = require('co-ssh');

...
var c = ssh({
  host: 'n.n.n.n',
  user: 'myuser',
  key: read(process.env.HOME + '/.ssh/some.pem')
});

yield c.connect();
yield c.exec('foo');
yield c.exec('bar');
yield c.exec('baz');
...

License

MIT

About

SSH client for generators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published