In my experience it is never safe to use threads (or forks) with any form of SSH if you plan to create a connection before creating child threads, and then using that connection in multiple children.
Net::OpenSSH supports sharing the connection between different threads or processes.
In reply to Re^2: Is Net::SSH::Expect a thread-safe module?
by salva
in thread Is Net::SSH::Expect a thread-safe module?
by ashok.g
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |