> I'll eat my left hat if it's not 5.6+, and I'll eat my right > hat if btrott isn't working with 5.005_03 or lower.
Yep. Thanks for clearing this up!

W/r/t the Net::SSH errors:

Corrupted check bytes on input at blib/lib/Net/SSH.pm line 135
This one bothers me slightly. Though you didn't get the same problem for the other hosts, which is good. Could be a problem w/ the encryption cipher perhaps; that's when I'd get this sort of message during testing.
Didn't expect to get packet of type 15
15 is a failure message from the server. This is partly due to my not-so-robust error checking at this point. This error message occurs during the client loop after executing the command remotely; only certain packets are expected. Failure isn't an option, ha ha. :)

Anyway, I'll look at this; don't know why trying to run a command would cause failure.

Can't open /etc/ssh_known_hosts
This is fairly self-explanatory; host3 must not be in your ~/.ssh/known_hosts (or the host keys didn't match--not yet distinguishing this from new hosts), so Net::SSH tried to look in /etc/ssh_known_hosts... which doesn't exist.

Anyway, thanks very much for the error reports. When trying to fix the errors I may now get in contact with you and ask you to rerun them after I implement some better debugging tools.


In reply to Re: (XS fix and first impressions) Re: New Module: Net::SSH by btrott
in thread New Module: Net::SSH by btrott

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.