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

Could you try the development version from GitHub?

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

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

Replies are listed 'Best First'.
Re^6: Net::OpenSSH premature session termination
by troy99 (Novice) on Dec 07, 2011 at 15:29 UTC

    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.