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());

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i stream-ssh

    Weekly Downloads

    2

    Version

    0.0.3

    License

    ISC

    Last publish

    Collaborators

    • ashaffer88