Net-SSH-Perl reviews

cpanratings
 

RSS | Module Info | Add a review of Net-SSH-Perl

Net-SSH-Perl (1.35) *

The extra requirements for installation make it a hassle to use on 100's of systems. It'd be nice if it was more portable.

Net-SSH-Perl (1.30) **

I personally found this to be painful to use. For example, the following code, offered as an example of Net::SSH::Perl::Agent usage (straight from the page itself), does not work at all using Perl 5.8.5 on a 2.6.9 kernel (i686 arch):

use Net::SSH::Perl::Agent;
my $agent = Net::SSH::Perl::Agent->new(2) || die "This always dies.";

Net-SSH-Perl (1.30) *****

It does what it claims without putting itself in the way. The optional modules for heavy math are really needed, otherwise the module is virtually unuseable, but this is not really a weakness of the module itself.

Net-SSH-Perl (1.30) *****

We had a bear of a time installing this on Solaris too, mostly due to Math::Pari. Thankfully, that won't be an impediment to using this in our new RHEL 4 environment, since prebuilt rpm packages are available from RPM Forge, among others. Net::SSH::Perl is a great contribution to the community. Thanks!

Net-SSH-Perl (1.30) *****

This module is one of the most usefull Perl module I know. The only drawback I found is that it is a little bit difficult to install. The problem come from some modules dependencies (I never remember which one, but the same compilation problem occur with active state perl (windows) and unix perl (debian)).

Net-SSH-Perl (1.28) ****

Fantastically useful module when you need it. Only aggravation is building the Math::GMP and Math::Pari modules requires for maximum
speed, although these may be required by modules lower down.

Net-SSH-Perl (1.24) ***

it works great from scripts run from the command line, but those same scripts run from the web environment fail at the call to cmd...not sure why that is (probably my fault somehow)

Net-SSH-Perl (1.24) *****

This is the first ssh for perl i could get to work!!

Temperature collection on a group of Sun Blades:
------------------------------------------------
use Net::SSH::Perl;

$test="testws1 testws2 testws3 testws4 testws5" ;

@nodename=split( ' ', $test );

foreach $hostname (@nodename) {

$ssh = Net::SSH::Perl->new($hostname, port => 22);

print "$hostname ";

$ssh->login("root", "XXXXXX");

chomp ( my $cmd = 'prtpicl -v -c temperature-sensor | grep Temperature | awk \'{ a = $2 ; getline ; b = $2 ; getline ; print "CPU:"a" CASE:"b}\'');

my($out, $err) = $ssh->cmd($cmd || "ls -l");

print $out;

$ssh->cmd("exit");
}

MODULES I WAS MISSING TO MAKE COMPILE WORK:

Scalar::Util .................ok
Crypt::DSA ...................** FAILED **
Crypt::DES ...................** FAILED **
Digest::SHA1 .................** FAILED **
Convert::PEM .................** FAILED **
String::CRC32 ................** FAILED **
Math::Pari ...................ok
Digest::HMAC_SHA1 ............** FAILED **
Digest::HMAC_MD5 .............** FAILED **
IO::Socket ...................ok
MIME::Base64 .................ok
Digest::MD5 ..................ok
Crypt::DH ....................** FAILED **
Math::GMP ....................ok
Net::SSH::Perl depends on several external modules for functionality.
Some of these modules can not be found on your system; they can be
installed automatically for you. To do so will require loading the
CPAN shell, which may require you to be running as root. Answer 'n' to
each of the following questions if you'd rather not install any
needed modules right now; note, however, that you'll still need to
install them to use Net::SSH::Perl.

I had to compile the ** FAILED ** to get working on Solaris 8 SPARC.
It took a while, but the Net-SSH-Perl works stand alone, with out regular ssh on machine!

Net-SSH-Perl (1.23) *****

Great module. The only module to consider for using Perl together with secure shell. Ben clearly put a lot of effort into this.
4 hidden unhelpful reviews