sssh

0.0.2 • Public • Published

Streaming SSH

Build Status NPM version

Installation

npm install --save sssh

NPM

Usage

  var Connection = require('ssh2');
  var ssh = new Connection();
  var settings = { <your connection settings> };
  var Sssh = require('sssh').Command;
  var sssh = new Sssh(ssh, 'pwd');
  sssh.pipe(process.stdout);
 
  ssh.connect(settings);

This will output the path to the current folder after establishing an SSH connection.

Contributions

  • are welcome;
  • should be tested;
  • should follow the same coding style.

License

The MIT License

Copyright (c) 2014 Ruslan Bredikhin

Package Sidebar

Install

npm i sssh

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • bredikhin