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

4 out of 4 found this review helpful:

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.";

Ryan Steele - 2008-09-19 14:17:26
Was this review helpful to you?  Yes No

1 out of 2 found this review helpful:

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.

Flavio Poletti - 2008-06-11 14:53:36
Was this review helpful to you?  Yes No

2 out of 2 found this review helpful:

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!

Phil Lembo - 2007-05-03 10:50:33
Was this review helpful to you?  Yes No

1 out of 8 found this review helpful:

Net-SSH-Perl (1.30)

for all the people having trouble installing it, try this alternate method.. worked for me.

OS: fc6

yum install perl-Net-SSH-Perl

borg - 2007-04-19 15:53:36
Was this review helpful to you?  Yes No

4 out of 4 found this review helpful:

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)).

Thierry Chich - 2007-02-14 07:00:06
Was this review helpful to you?  Yes No

3 out of 3 found this review helpful:

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.

Mark Blackman - 2005-09-11 13:40:12
Was this review helpful to you?  Yes No

0 out of 3 found this review helpful:

Net-SSH-Perl (1.27) ***

bug fix?

F�ldesi P�ter - 2005-05-02 03:34:20
Was this review helpful to you?  Yes No

0 out of 1 found this review helpful:

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)

Michael Harper - 2004-01-17 09:25:50
Was this review helpful to you?  Yes No

2 out of 2 found this review helpful:

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!

Mike Chanslor - 2003-11-21 18:04:39
Was this review helpful to you?  Yes No

1 out of 4 found this review helpful:

Net-SSH-Perl (1.23) *

not bad

Eric - 2003-11-03 13:41:46
Was this review helpful to you?  Yes No

2 out of 2 found this review helpful:

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.

Daniel Berger - 2003-08-13 20:31:26
Was this review helpful to you?  Yes No


the camel