Hi,

I am a beginner to Perl
I tried the code from Ifran
however,I got the message

Math::BigInt::couldn't load specified math lib(s), fallback to
Math::BigInt::FastCalc at C:/Program Files/Perl/Site/site/lib/Crypt/DH.pm
line 6

I have google the problem,but still haven't worked it out.
It's too late, I have to go to sleep.
If somebody know the solution, please let me know, thanks very much.

2010/10/12 Irfan Sayed <irfan_sayed2...@yahoo.com>

> now getting following error:
>
> Key class 'Net::SSH::Perl::Key::RSA' is unsupported: Cannot find current
> script
> './igor_tar.pl' at /home/y/lib/perl5/5.8/FindBin.pm line 188
> BEGIN failed--compilation aborted at /home/y/lib/perl5/5.8/FindBin.pm line
> 188.
>
> here is the latest code:
>
> my $host = "gwbl7001.blue.ygrid.yahoo.com";
>  my $user = "irfanjs";
>  my $cmd = "ls";
>  my $msg;
>  my %params;
>  $params{'identity_files'} = '/home/irfanjs/.ssh/identity';
>  $params{'protocol'} = '2,1';
>  foreach (sort keys %params) {
>    print "$_ : $params{$_}\n";
>  }
>  my $ssh = Net::SSH::Perl->new($host,%params);
>  $ssh->login($user);
>  $ssh->cmd($cmd);
>
>
> any issue with protocol?
> --irfan
>
>
>
>
>
> ________________________________
> From: Alexey Mishustin <shum...@shumkar.ru>
> To: beginners@perl.org
> Sent: Tue, October 12, 2010 2:25:52 PM
> Subject: Re: perl net::ssh module
>
> Note: Forwarded message is attached.
>
>
> Junk Score: 1 out of 10 (below your Auto Allow threshold) | Approve sender
> |
> Block sender | Block domain |
>
>
>

Reply via email to