Thanks Salva for your response

I'm running

Fedora release 9 (Sulphur)

Perl v5.10.0 built for i386-linux-thread-multi

openssh-5.1p1

Local SSH client is OpenSSH_5.1p1, OpenSSL 0.9.8g 19 Oct 2007

Remote SSH server is OpenSSH_2.5.2p2, SSH protocols 1.5/2.0

Debug output is as follows:
# call args: ['ssh','-S','/home/cstrong/.libnet-openssh-perl/root-10.2 +24.138.142-26522-522395','-o','User=root','--','10.224.138.142','ps - +ef'] # open_ex: ['ssh','-S','/home/cstrong/.libnet-openssh-perl/root-10.224 +.138.142-26522-522395','-o','User=root','--','10.224.138.142','ps -ef +'] Connection to 10.224.138.142 closed by remote host. # set_error(5 - child exited with code 255) # DESTROY(Net::OpenSSH=HASH(0x949885c), pid => 26523) # call args: ['ssh','-O','exit','-S','/home/cstrong/.libnet-openssh-pe +rl/root-10.224.138.142-26522-522395','-o','User=root','--','10.224.13 +8.142'] # open_ex: ['ssh','-O','exit','-S','/home/cstrong/.libnet-openssh-perl +/root-10.224.138.142-26522-522395','-o','User=root','--','10.224.138. +142'] # set_error(5 - child exited with code 255)

In reply to Re^2: Net::OpenSSH multiple commands by cstrong
in thread Net::OpenSSH multiple commands by cstrong

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.