Tuesday, July 12, 2011

Net::SSH::Perl install

Very nice module but a bit of a pain to install: the pain will be caused by Math::Pari wich fails automatic installation with cpan(m).

To fix it get the Math::Pari archive from CPAN, then ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-2.1.7.tgz and extract pari-2.1.7.tgz in the same folder where the Math-Pari-2.* folder is, then perl Makefile.PL Configure, make, make install. pari-2.5.0 won't work.


  1. Take a look at Net::OpenSSH and its 'Net::OpenSSH Vs Net::SSH::.* modules' section.
    Net::SSH2 is also a good module based on libssh2 instead of openssh.

  2. well, thanks :)

    there is Net::SSH::Expect, too

    I already have a bunch of code written with Net::SSH::Perl.

    Perl is getting so easy and "user friendly" that it's a treat to find a module you have to read the README file and pay attention to compile messages :)

  3. This probably won't help you but at least let me share the the pain with you.

  4. I searched this solution all over the internet and finally I find it here :) thank you very much,