[Ssh-sftp-perl-users] Net::SSH::Perl - Error
Brought to you by:
dbrobins
From: James A T. <jat...@le...> - 2009-08-24 13:11:33
|
I know the username and password is not a good approach, but I really want to get the Net::SSH::Perl; working. Here is the code that I have. print "Creating ssh object... "; my $host = 'server.mda.server.com'; my $user = 'james'; my $password = 'passwrd'; my $ssh = Net::SSH::Perl->new($host, protocol => 2); print "Starting Login ...\n"; $ssh->login($user, $password) || die "error: could not log in"; print "Ending Login ...\n"; $ssh->cmd($cmd); Everything runs fine until I get to the Starting Login Here are the error messages Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at serverpath/KeyChain.pm line 6 Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at serverpath/Key.pm line 6 Math::BigInt: couldn't load specified math lib(s), fallback to Math::B+igInt::FastCalc at serverpath/Util.pm line 6 Not an ARRAY reference at serverpath/Calc.pm line 25 program stops there and never finsihes anything below the login. James |