vetrivel has asked for the wisdom of the Perl Monks concerning the following question:
use Net::SFTP ; $host = "Hostname" ; %args = ( "user" , "vetri" , "password" , "vetri" , "debug" , "true" ) ; my $sftp = Net::SFTP->new($host , %args); $sftp->put("2", "8");
I got below error while running this above program in perl 5.6.1
Key class 'Net::SSH::Perl::Key::DSA' is unsupported: unknown import: lib GMP at.BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Crypt/DSA/K.Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/Crypt/DSA.pm li.BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Crypt/DSA.p.Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/Net/SSH/Perl/Ke.BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Net/SSH/Per.Compilation failed in require at (eval 25) line 1, <GEN0> line 1. BEGIN failed--compilation aborted at (eval 25) line 1, <GEN0> line 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SFTP in perl
by targetsmart (Curate) on Jun 23, 2009 at 10:21 UTC | |
|
Re: Net::SFTP in perl
by davorg (Chancellor) on Jun 23, 2009 at 10:32 UTC |