from Hacker News

Ssh2-promise

by sanketbajoria on 12/2/17, 5:56 PM with 1 comments

  • by sanketbajoria on 12/2/17, 5:57 PM

    ssh2-promise is a promise wrapper around ssh2 client. It supports all the ssh2 client operation such as connection hopping, exec, spawn, shell, sftp, open tunnel, open socks connection etc.. in promisify way. It also help in caching the sshconnection, to reduce time, during hopping connection. It also have reconnect logic, so that, once disconnected, it can retry the sshconnection.