npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

co-ssh

0.0.1

@tjholowaychuk

npmHomeRepoSnykSocket
Downloads:2
$ npm install co-ssh
DailyWeeklyMonthlyYearly

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