stream-ssh

0.0.3 • Public • Published

stream-ssh

Example

fs.createReadStream('./test.sh')
  .pipe(es.split())
  .pipe(sshStream({
    host: 'server.com',
    username: 'task',
    privateKey: fs.readFileSync(path.resolve(process.env.HOME, '.ssh/id_rsa'))
  }))
  .pipe(consoleStream());

Package Sidebar

Install

npm i stream-ssh

Weekly Downloads

0

Version

0.0.3

License

ISC

Last publish

Collaborators

  • ashaffer88