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
$ssh->login(cgadgil, cgadgil);
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
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
hi all,
i am using expect module to connect to a remote server. i am getting the
following error.
Cannot sync with child: Interrupted system call at
/perl_path/lib/Expect.pm line 134,
somebody please let me know a solution for this.
thanks,
sandeep.
--
To unsubscribe, e-mail: [EMAIL PROT
Chas. Owens wrote:
On Tue, Oct 21, 2008 at 09:40, Sandeep Kumar
<[EMAIL PROTECTED]> wrote:
hi all,
i am using expect module to connect to a remote server. i am getting the
following error.
Cannot sync with child: Interrupted system call at /perl_path/lib/Expect.pm
line 134,
so