ssh-as-promised
A pure NodeJS, promise based SSH library. Depends on the pure node SSH implementation from ssh2.
WORK_IN_PROGRESS: Minimal features implemented as required by ongoing projects
Pull requests welcome.
Usage
npm install ssh-as-promised
const SSH = ; // options are those for the SSH connection as required// by the `ssh2` libraryconst client = host: 'hostname' port: 22 username: 'username' privateKey: readyTimeout: 60000; client;