Even with default_stdin_fh set, I still get the error Operation 'OPEN' not supported on FCGI::Stream handle at \/usr\/share\/perl5\/Net\/OpenSSH.pm line 761.

STDERR output from debug doesn't show anything obviously informative to me?

open_ex: ['ssh','-V'], referer: http://127.0.0.1/test_ssh.pl io3 mloop, cin: 0, cout: 1, cerr: 0, referer: http://127.0.0.1/test_s +sh.pl io3 fast, cin: 0, cout: 1, cerr: 0, referer: http://127.0.0.1/test_ss +h.pl stdout, bytes read: 60 at offset 0, referer: http://127.0.0.1/test_ss +h.pl io3 fast, cin: 0, cout: 1, cerr: 0, referer: http://127.0.0.1/test_ss +h.pl stdout, bytes read: 0 at offset 60, referer: http://127.0.0.1/test_ss +h.pl leaving _io3(), referer: http://127.0.0.1/test_ssh.pl waiting for slave, timeout: 10, remaining: 10, sleep: 1, referer: htt +p://127.0.0.1/test_ssh.pl _waitpid(27399) => pid: 27399, rc: 0, err: Interrupted system call, r +eferer: http://127.0.0.1/test_ssh.pl OpenSSH version is 7.2p2, referer: http://127.0.0.1/test_ssh.pl ctl_path: /tmp/.net_ssh/monitor-192.168.0.12-27394-236253, ctl_dir: / +tmp/.net_ssh/, referer: http://127.0.0.1/test_ssh.pl set_error(0 - 0), referer: http://127.0.0.1/test_ssh.pl call args: ['ssh','-o','ConnectTimeout=10','-o','ServerAliveInterval= +10','-o','ServerAliveInterval=30','-o','ControlPersist=no','-2MNx','- +o','BatchMode=yes','-i','/tmp/.5SFO0niU.27394.key','-o','PreferredAut +hentications=publickey','-S','/tmp/.net_ssh/monitor-192.168.0.12-2739 +4-236253','-l','monitor','192.168.0.123','--'], referer: http://127.0 +.0.1/test_ssh.pl master state jumping from _STATE_START to _STATE_AWAITING_MUX, refere +r: http://127.0.0.1/test_ssh.pl file object not yet found at /tmp/.net_ssh/monitor-192.168.0.12-27394 +-236253, state:_STATE_AWAITING_MUX, referer: http://127.0.0.1/test_ss +h.pl DESTROY(Net::OpenSSH=HASH(0x5db2ac0), pid: <undef>), referer: http:// +127.0.0.1/test_ssh.pl set_error(1 - aborted), referer: http://127.0.0.1/test_ssh.pl master state jumping from _STATE_START to _STATE_GONE, referer: http: +//127.0.0.1/test_ssh.pl

In reply to Re^6: Handling STDERR when using Net::OpenSSH by Anonymous Monk
in thread Handling STDERR when using Net::OpenSSH by sittingbull

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.