in reply to Re^4: Working around limit to number of connections vis Net::OpenSSH
in thread Working around limit to number of connections with Net::OpenSSH

You should be able to reuse the Net::OpenSSH object/connection as many times as you like.

AFAIK, nor the module, neither ssh leak file descriptors, so the issue is probably in your code...

  • Comment on Re^5: Working around limit to number of connections vis Net::OpenSSH
  • Download Code

Replies are listed 'Best First'.
Re^6: Working around limit to number of connections vis Net::OpenSSH
by nysus (Parson) on Mar 28, 2017 at 15:51 UTC

        Yeah, was just too lazy to look it up. Thanks.

        $PM = "Perl Monk's";
        $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
        $nysus = $PM . ' ' . $MCF;
        Click here if you love Perl Monks