0.0.1 • Published 10 years ago

co-ssh v0.0.1

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

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