in reply to Re^3: Net::OpenSSH premature session termination
in thread Net::OpenSSH premature session termination

Ah, OK, thanks!

  • Comment on Re^4: Net::OpenSSH premature session termination

Replies are listed 'Best First'.
Re^5: Net::OpenSSH premature session termination
by salva (Canon) on Dec 07, 2011 at 14:49 UTC
    Could you try the development version from GitHub?

    Now, Net::OpenSSH connections should survive finalization of child threads.

      I can, but I doubt I'll be able to today. The issue is that this problem showed up on our beefy production machines (and I cannot install there), and has not shown up on our development boxes.

        well, you don't need to install the module at all, just copy the file OpenSSH.pm to, for instance, /tmp/Net/OpenSSH.pm and then run your program as perl -I/tmp script.pl.

        update: or just install the new Net::OpenSSH 0.56_01 that I have just uploaded to CPAN.