First, lemme start off saying that it takes ENTIRELY TOO MANY modules just to get Net::SSH::Perl to work. I understand the whole crypto module deal, but it seems like it's a lot of work just to get Perl to work with a common shell protocol.

Anyway, after installing all of these modules, including ones that weren't part of the dependancy lists (since the script basically just complained that it's missing this and that), I now get this error:

`as_number' is not a Pari function name at /usr/lib/perl5/site_perl/5. +8.3/i586-linux-thread-multi/Math/Pari.pm line 1136, <GEN0> line 1.

Can't find the error on the net/newsgroups at all. According to the line, it's trying to eval something in loadPARI, but as_number is in Math::BigInt, I think. Is Net::SSH::Perl broken, or Math::Pari? How do I fix this? (I've tried different crypto protocols in the SSH->new command, but same thing.) BTW, here's the debug info for that ssh command:

rtfkb: Reading configuration data /root/.ssh/config rtfkb: Reading configuration data /etc/ssh_config rtfkb: Allocated local port 1023. rtfkb: Connecting to x.x.x.x, port 22. rtfkb: Remote protocol version 2.0, remote software version Sun_SSH_1. +0.1 rtfkb: Net::SSH::Perl Version 1.29, protocol version 2.0. rtfkb: No compat match: Sun_SSH_1.0.1. rtfkb: Connection established. rtfkb: Sent key-exchange init (KEXINIT), wait response. rtfkb: Algorithms, c->s: blowfish-cbc hmac-sha1 none rtfkb: Algorithms, s->c: blowfish-cbc hmac-sha1 none

...and then the error

2005-11-14 Retitled by jdporter, as per Monastery guidelines. Original title: 'Bug in Math::Peri'. Also, added code tags.


In reply to Bug in Math::Pari ? by SineSwiper

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.