arssh2-client

2.3.0 • Public • Published

npm version Build Status Coverage Status Maintainability Inline docs Greenkeeper badge

README

arssh2-client is auto recovery ssh client wrapper for ssh2(https://github.com/mscdex/ssh2)

features

  • ES6 Promise based functions
  • auto-reconnect and retry if connection is unavailable
  • some usefull high-level functions e.g. scp -r, mkdir -p, watch
  • support multiple connection
  • support glob for file transfer functions

API

plase check separate docment(./API.md)

verbose log

arssh2-client use debug module to write all debug output. you can enable all debug output to set DEBUG environment variable as follows

#"app.js" is your app using arssh2-licent library

#for Linux,mac
DEBUG=arssh2* node app.js
#for windows power shell
$env:DEBUG='arssh2*';node app.js

available namespace is as follows

  • arssh2:arssh2
  • arssh2:jobs
  • arssh2:connection-manager
  • arssh2:sftpUtil
  • arssh2:sshExec

and following namespace is used underlying libraries

  • arssh2:ssh2
  • sbs:sbs

Readme

Keywords

none

Package Sidebar

Install

npm i arssh2-client

Weekly Downloads

5

Version

2.3.0

License

MIT

Unpacked Size

74.9 kB

Total Files

13

Last publish

Collaborators

  • so5