in reply to Re^2: Odd perl/ssh interaction
in thread Odd perl/ssh interaction

I work in an environment where 'extra' modules are not always easily/readily available.

Note that Net::OpenSSH is a pure-Perl module, and so in the worst case can be installed by copying it over. Only if you need password authentication the XS based module IO::Pty needs to be installed.

Update:

Agreed regarding strict/warn, error checking, ... I stripped it out as I trimmed down to a minimal test case.

The effort to create an SSCCE is appreciated, but it's best to leave those things in when posting questions here, otherwise most monks' first thought will be "how do we know the problem isn't being hidden because those things are missing"? :-)

  • Comment on Re^3: Odd perl/ssh interaction (updated)