[Ssh-sftp-perl-users] Problem with NET::SSH::PERL package installation.
Brought to you by:
dbrobins
From: Bobby J. <bob...@se...> - 2005-11-21 05:14:37
|
Hi All, I am trying to connect to a Black-Box running debian embedded Linux. The script is running on WinXP. The package was successfully installed using PPM3. use Net::SSH::Perl; my $host =3D '192.168.0.179'; my $user =3D 'root'; my $pass =3D 'password'; my $ssh =3D Net::SSH::Perl->new ( $host, options =3D> [ "protocol 1,2", "Port 22", "debug 1", "privileged false" ]); $ssh->login($user, $pass); my $cmd =3D'cd /etc'; my ($stdout, $stderr, $exit) =3D $ssh -> cmd($cmd); print "\$pwSha1Sum is $pwSha1Sum\n"; Even though I have installed the Net::SSH:Perl Package and its dependencies, I get the following error: Can't locate loadable object for module Math::GMP in @INC (@INC contains: s:\ctam\qa-tests\lib /ctam/qa-tests/lib C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/Net/SSH/Perl/Util/SSH1MP.pm line 7 Compilation failed in require at C:/Perl/site/lib/Net/SSH/Perl/Util/SSH1MP.pm line 7, <GEN0> line 1. BEGIN failed--compilation aborted at C:/Perl/site/lib/Net/SSH/Perl/Util/SSH1MP.pm line 7, <GEN0> line 1. Compilation failed in require at C:/Perl/site/lib/Net/SSH/Perl/Util.pm line 56,<GEN0> line 1. BEGIN failed--compilation aborted at C:/Perl/site/lib/Net/SSH/Perl/Key/RSA1.pm line 6, <GEN0> line 1. Compilation failed in require at C:/Perl/site/lib/Net/SSH/Perl/SSH1.pm line 13,<GEN0> line 1. BEGIN failed--compilation aborted at C:/Perl/site/lib/Net/SSH/Perl/SSH1.pm line 13, <GEN0> line 1. Compilation failed in require at C:/Perl/site/lib/Net/SSH/Perl.pm line 55, <GEN0> line 1. Any idea's as to what I have done wrong.=20 Bobby Jafari Test Engineer Senetas Security Pty Ltd Office: +61 3 9868 4529 Mobile: +61 404 089 021 E-Mail: bob...@se... |