[Detroit-pm] Net::SSH::Perl using SSH1
dondukelow at yahoo.com
Mon Apr 14 07:34:39 PDT 2008
I just resently install Niet::SSH::Perl and all it's depacies on a Red Hat Linix sustem. When I use SSH2 there is no problem. But when I have to use SSH1 I get the following error.
Can't locate object method "new" via package "Math::GMP" at /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/Buffer.pm line 148.
Line 148 readds
The line in my code reads.
# my $ssh = Net::SSH::Perl->new("$sw_info->", protocol => '1');
my $ssh = Net::SSH::Perl->new("$sw_info->");
I've tried it both ways and the network switch doesn't take SSH2 at all.
The array elemament $sw_info-> contains the IP address of the network switch I want to connect to.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Detroit-pm