co-ssh

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i co-ssh

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • tjholowaychuk