in reply to Forking and Net::SSH::Perl
You have to open a new connection from every child. If that slows down your script too much, reimplement it using a workers+queue aproach.
And BTW, you can get OpenSSH packed for Solaris from Sunfreeware. Net::OpenSSH does support sharing the SSH connection with child processes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Forking and Net::SSH::Perl
by eff_i_g (Curate) on Apr 05, 2011 at 14:34 UTC | |
by salva (Canon) on Apr 05, 2011 at 15:12 UTC |