in reply to Net::SSH::Perl and SSH protocols

It takes forever but eventually it runs without any errors.

This is a common problem, usually caused by the XS based Math modules (which are fast) not being installed, and then it results in the math intensive work done by plain Perl routines. See Net::SSH::Perl and f-Secure SSH. Also read the README file for Net::SSH::Perl, which states you need Math::Pari or Math::GMP for best performance. The other thing to try is to move up to the Net::SSH2 module ( which avoids the Math module dependencies). See A little demo for Net::SSH2


I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: Net::SSH::Perl and SSH protocols
by xorl (Deacon) on Mar 24, 2008 at 13:14 UTC
    Math::Pari and Math::GMP are both installed. When we originally wrote the script, the remote box was old and could only handle protocol 1. Obviously the box has been upgraded so maybe we can switch to Net::SSH2. I'd just like to figure out what is different between box 1 and box 2. Both are supposed to be clones but obviously something is different.