--- sivasakthi <[EMAIL PROTECTED]> wrote:
> if i have changed the line as,
>
> my($out, $err) = $ssh->cmd("cd /usr/local","ls");
>
Try change this line to:
my($out, $err) = $ssh->cmd("cd /usr/local;ls");
good luck.
--
http://home.earthlink.net/~pangj/
http://home.arcor.de/jeffpang/
Hi All,
I have checked the Net::SSH::perl modules, Just i have logged in to the
remote machine and executing the command. The code is following,
#! /usr/bin/perl
use strict;
use warnings;
use Net::SSH::Perl;
my $hostname="xx.xx.xx.xx";
my $user=;
my $pass=xxx;
my $ssh = Net::SSH::Perl->n