Hi

Am trying to use Net::SSH::Perl to connect to various servers, nearly all Solaris but various versions from 2.5 up with varying versions of ssh on them.

I can connect OK to Solaris 8 with OpenSSH3.n but not to the more important Solaris 2.5 with SSH-1.5 v 1.2.26.

This latter is OK until

hostname: Encryption type: IDEA hostname: Sent encrypted session key. Corrupted check bytes on input at ..../Packet.pm line 135
I did post this up on comp.lang.perl.modules back in Feb but still no reply. I may be able to fix by reverting to Net::SSH::Perl 1.28 but any ideas on this version would be much appreciated.

I could post code but at this point it is pretty much as per the example code in module docs. I am using ssh-agent with both V1 and V2 keys in but the ssh command works OK with this.


In reply to Corrupted bytes in Packet.pm (135) in Net::SSH::Perl 1.30 by tweetiepooh

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.