Vijay Kumar Adhikari wrote:
Hi,
I need to ssh to a remote machine, run a command and get the output. Is
there some modules that can help.
TIA
Vijay
Yes there is ..
Net::SSH::Perl
If you ask google "Perl Ssh Perl" you will get the same answer.
Or you can do something like:
my $output = `ssh [EMAIL PROTECTED] command_to_get_the_output_from`;
with regard
MNibble
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>