Re: perl net::ssh module

2010-10-14 Thread Irfan Sayed
thanks now it is working fine --irfan From: Alexey Mishustin To: beginners@perl.org Sent: Thu, October 14, 2010 11:08:24 AM Subject: Re: perl net::ssh module 10/13/2010, "han sun" you wrote: >2010/10/12 Irfan Sayed > >> now g

Re: perl net::ssh module

2010-10-13 Thread Alexey Mishustin
10/13/2010, "han sun" you wrote: >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 kn

Re: perl net::ssh module

2010-10-13 Thread Alexey Mishustin
10/13/2010, "han sun" you wrote: >2010/10/12 Irfan Sayed > >> 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

Re: perl net::ssh module

2010-10-13 Thread han sun
et::SSH::Perl->new($host,%params); > $ssh->login($user); > $ssh->cmd($cmd); > > > any issue with protocol? > --irfan > > > > > > > From: Alexey Mishustin > 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 | > > >

Re: perl net::ssh module

2010-10-13 Thread Irfan Sayed
can someone please help. i m totally stuck. Regards Irfan From: Irfan Sayed To: Alexey Mishustin ; beginners@perl.org Sent: Tue, October 12, 2010 3:29:05 PM Subject: Re: perl net::ssh module now getting following error: Key class 'Net::SSH::Perl::Key

Re: perl net::ssh module

2010-10-12 Thread Irfan Sayed
{ 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 To: beginners@perl.org Sent: Tue, October 12, 2010 2:25:52 PM

Re: perl net::ssh module

2010-10-12 Thread Alexey Mishustin
10/12/2010, "Irfan Sayed" you wrote: >i am using this code : > >my $host = "abc.data.com"; > my $user = "ybici1"; > my $id_file = "/home/ybici1/.ssh/openid"; > my $ssh = Net::SSH::Perl->new($host,$user,$id_file); > my($stdout, $stderr, $exit) = $ssh->cmd("ls /homes/ybici1"); > print "$stdout\n";

Re: perl net::ssh module

2010-10-12 Thread Irfan Sayed
dout\n"; print "$stderr\n"; print "$exit\n"; but still it is not executing the command. plz advice --irfan. From: C.DeRykus To: beginners@perl.org Sent: Fri, October 1, 2010 9:37:07 AM Subject: Re: perl net::ssh module Note: Forwarded

Re: perl net::ssh module

2010-09-30 Thread C.DeRykus
On Sep 30, 5:19 am, irfan_sayed2...@yahoo.com (Irfan Sayed) wrote: > Hi, > > I am using net::ssh module of Perl to connect to remote machine and execute > some > remote commands > i can connect using user-name and password hard coded in the script like > below: > > #!

perl net::ssh module

2010-09-30 Thread Irfan Sayed
Hi, I am using net::ssh module of Perl to connect to remote machine and execute some remote commands i can connect using user-name and password hard coded in the script like below: #!/usr/local/bin/perl use strict; use Net::SSH::Perl; my $host="dna-ci2.data.corp.sp1.xxx.com"; my $cm

NET ssh module

2008-08-26 Thread Irfan J Sayed (isayed)
Hi All, I am trying to install Net-ssh module. I am getting error like not able to access FTP site to fetch CPAN files. Please find the attached log. The box where i want to install this module does not have the internet connection. Please sugget. Regards Irf. [EMAIL PROTECTED] Net-SSH