Re: Execute the Linux command on remote machine

2008-08-19 Thread Dr.Ruud
"Irfan J Sayed (isayed)" schreef: > Please find the attached log. I don't see the output of `perl -V` there. You did do `perl -v`. > Please please suggest. Now it is asking to enter the CPAN site. It looks like you are behind a firewall that doesn't allow ftp nor http traffic. Do you have an h

RE: Execute the Linux command on remote machine

2008-08-19 Thread Irfan J Sayed (isayed)
Hi, Please find the attached log. Please please suggest. Now it is asking to enter the CPAN site. Regards Irfan. -Original Message- From: Dr.Ruud [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2008 2:03 PM To: beginners@perl.org Subject: Re: Execute the Linux command on remote

Re: Execute the Linux command on remote machine

2008-08-19 Thread Dr.Ruud
"Irfan J Sayed (isayed)" schreef: > I have downloaded the Math::Pari module and was trying to install but > stuck Let's go back to the start. 1. Show us the output of `perl -V`. 2. Run perl -MCPAN -e 'install Math::Pari'. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail:

RE: Execute the Linux command on remote machine

2008-08-19 Thread Irfan J Sayed (isayed)
ecute the Linux command on remote machine "Irfan J Sayed (isayed)" schreef: > Now I have installed entire Net::SSH::Perl module in the /tmp folder. It looks like you "copied" in stead of "installed". http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules

Re: Execute the Linux command on remote machine

2008-08-18 Thread Dr.Ruud
"Irfan J Sayed (isayed)" schreef: > Now I have installed entire Net::SSH::Perl module in the /tmp folder. It looks like you "copied" in stead of "installed". http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [

RE: Execute the Linux command on remote machine

2008-08-17 Thread Irfan J Sayed (isayed)
ginners Subject: RE: Execute the Linux command on remote machine Thanks Rob. I have downloaded all the files and now copying to the right directory. I will let you know once done. Regards Irfan. -Original Message- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 6

RE: Execute the Linux command on remote machine

2008-08-14 Thread Irfan J Sayed (isayed)
command on remote machine Irfan J Sayed (isayed) wrote: > > Thanks for reply. > > I have Perl.pm installed in following path > [EMAIL PROTECTED] scripts]$ ls -l /tmp/Net/SSH/ total 32 > -rwxr--r-- 1 cgadgil cgadgil 32724 Aug 13 06:42 Perl.pm > [EMAIL PROTECTED] scripts]$ &

Re: Execute the Linux command on remote machine

2008-08-14 Thread Rob Dixon
Irfan J Sayed (isayed) wrote: > > Thanks for reply. > > I have Perl.pm installed in following path > [EMAIL PROTECTED] scripts]$ ls -l /tmp/Net/SSH/ > total 32 > -rwxr--r-- 1 cgadgil cgadgil 32724 Aug 13 06:42 Perl.pm > [EMAIL PROTECTED] scripts]$ > > And perl script I modified as follows > #! /u

Re: Execute the Linux command on remote machine

2008-08-13 Thread Rodrick Brown
On Wed, Aug 13, 2008 at 8:14 AM, Thomas Lovell <[EMAIL PROTECTED]>wrote: > > On Aug 13, 2008, at 4:25 AM, Irfan J Sayed (isayed) wrote: > > Hi All, >> >> I want to execute one command on remote Linux machine. >> >> Following is the perl code. >> >> #! /usr/bin/perl; >> >> # perl module to parse t

Re: Execute the Linux command on remote machine

2008-08-13 Thread Thomas Lovell
On Aug 13, 2008, at 4:25 AM, Irfan J Sayed (isayed) wrote: Hi All, I want to execute one command on remote Linux machine. Following is the perl code. #! /usr/bin/perl; # perl module to parse the Install.log file for errors use lib "/tmp/"; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->n

RE: Execute the Linux command on remote machine

2008-08-13 Thread Irfan J Sayed (isayed)
nt: Wednesday, August 13, 2008 6:36 PM To: Perl Beginners Cc: Irfan J Sayed (isayed) Subject: Re: Execute the Linux command on remote machine Irfan J Sayed (isayed) wrote: > > I want to execute one command on remote Linux machine. > > Following is the perl code. > > #! /usr/

Re: Execute the Linux command on remote machine

2008-08-13 Thread Rob Dixon
Irfan J Sayed (isayed) wrote: > > I want to execute one command on remote Linux machine. > > Following is the perl code. > > #! /usr/bin/perl; > > # perl module to parse the Install.log file for errors > > use lib "/tmp/"; > use Net::SSH::Perl; > my $ssh = Net::SSH::Perl->new(avm-qa-c

Re: Execute the Linux command on remote machine

2008-08-13 Thread Sandeep Kumar
Please suggest Regards Irfan. *From:* Sandeep Kumar [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, August 13, 2008 5:39 PM *To:* Irfan J Sayed (isayed) *Cc:* beginners@perl.org *Subject:* Re: Execute the Linux command on remote

Re: Execute the Linux command on remote machine

2008-08-13 Thread Thomas Lovell
On Aug 13, 2008, at 4:25 AM, Irfan J Sayed (isayed) wrote: Hi All, I want to execute one command on remote Linux machine. Following is the perl code. #! /usr/bin/perl; # perl module to parse the Install.log file for errors use lib "/tmp/"; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->n

RE: Execute the Linux command on remote machine

2008-08-13 Thread Irfan J Sayed (isayed)
t Regards Irfan. From: Sandeep Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 5:39 PM To: Irfan J Sayed (isayed) Cc: beginners@perl.org Subject: Re: Execute the Linux command on remote machine Irfan J Sayed (isayed) wrote: Still th

Re: Execute the Linux command on remote machine

2008-08-13 Thread Sandeep Kumar
: Execute the Linux command on remote machine Irfan J Sayed (isayed) wrote: Hi All, I want to execute one command on remote Linux machine. Following is the perl code. #! /usr/bin/perl; # perl module to parse the Install.log file for errors use lib "/tmp/"; use Net::SSH::Perl;

RE: Execute the Linux command on remote machine

2008-08-13 Thread Irfan J Sayed (isayed)
; my($stdout, $stderr, $exit) = $ssh->cmd(ls); Please help. Regards Irfan. -Original Message- From: Sandeep Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 3:27 PM To: Irfan J Sayed (isayed) Cc: beginners@perl.org Subject: Re: Execute the Linux command on remote

Re: Execute the Linux command on remote machine

2008-08-13 Thread Sandeep Kumar
Irfan J Sayed (isayed) wrote: Hi All, I want to execute one command on remote Linux machine. Following is the perl code. #! /usr/bin/perl; # perl module to parse the Install.log file for errors use lib "/tmp/"; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new(avm-qa-cam2.net.com

Execute the Linux command on remote machine

2008-08-13 Thread Irfan J Sayed (isayed)
Hi All, I want to execute one command on remote Linux machine. Following is the perl code. #! /usr/bin/perl; # perl module to parse the Install.log file for errors use lib "/tmp/"; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new(avm-qa-cam2.net.com); $ssh->login(cgadgil, cgadgil