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

no, you have to call it from inside the async block.

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

    Ah, OK, thanks!

      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.