Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: best method in perl to execute command on remote server and fetch its output

by janasec (Sexton)
on May 24, 2015 at 14:46 UTC ( [id://1127593]=note: print w/replies, xml ) Need Help??


in reply to Re: best method in perl to execute command on remote server and fetch its output
in thread best method in perl to execute command on remote server and fetch its output

thanks for the quick reply

please can you simple give a working example using the module Net::OpenSSH ,I checked the perldoc for the same but could not find a solution to ssh with username and password and run the command and gather output

Thanks in advance

  • Comment on Re^2: best method in perl to execute command on remote server and fetch its output

Replies are listed 'Best First'.
Re^3: best method in perl to execute command on remote server and fetch its output
by pme (Monsignor) on May 24, 2015 at 14:53 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1127593]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-25 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found