79420951

Date: 2025-02-07 12:59:48
Score: 1.5
Natty:
Report link

If you're using Node.js to SSH into a server, you have a couple of solid options: ssh2 and hivessh. ssh2 has a callback approach that can be unmaintainable and ugly if you use a lot of nested or dependent ssh operations.

Hivessh is an ssh2 wrapper that provides a promise based approach with some nice utilities. like checking if a command exists.

https://github.com/NobleMajo/hivessh https://github.com/mscdex/ssh2

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Majo Richter