79552216

Date: 2025-04-03 07:07:31
Score: 1
Natty:
Report link

If you are using a single process, you can store the connection and reuse it (you may want to have a look at sshkit connection pooling)

If you want to reuse the same connection in several ruby processes, I guess there is no easy solution since ControlMaster is not supported : https://net-ssh.github.io/net-ssh/classes/Net/SSH/Config.html.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Thomas