K
K
Klaus Kater2016-06-15 08:13:23
SSH
Klaus Kater, 2016-06-15 08:13:23

Which ssh module for Node is suitable?

Hello, I'm trying to find a module for working with SSH, for full-fledged work with the server. Those. you need a permanent connection, answers are not for every command, but everything that the console sends, even auto-completion commands are desirable.
Simple-ssh is recommended everywhere, but it behaves very strangely, duplicates requests and is not suitable for other points.
While I'm trying to figure out the level below, and understand how Node generally works with ssh, but everything is very confusing there. If you have any better advice, I'd love to hear it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
de1m, 2016-06-15
@de1m

I recently wrote a small program to save containers. For this I used ssh2
I did not fully understand what you mean by "responses not to every command" and "even auto-completion commands"
This module can keep the connection (there is a keepalive), prints everything that the console writes (it also differs in errorcode 0 />0).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question