Take a look at the CPAN module Net::SSH. Example
use strict;
use Net::SSH qw(ssh ssh_cmd);
my @dirlist = remote_cmds("ls'");
mimi
2008/8/19 Irfan J Sayed (isayed) <[EMAIL PROTECTED]>
> Hi All,
>
> Can somebody have the sample Perl script which will fire the "ls"
> command on remote linux machine and give the exit status whether it is
> success or failure.
> OR can somebody please guide me step by step how to achieve this
>
> Please help.
>
> Regards
> Irf.
>
>
