sssh
v0.0.2
Published
Streaming SSH
Downloads
3
Maintainers
Readme
Streaming SSH
Installation
npm install --save sssh
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
Copyright (c) 2014 Ruslan Bredikhin