Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: SSHing in multiple servers and execute command on each

by soonix (Canon)
on Jun 27, 2018 at 09:17 UTC ( [id://1217492]=note: print w/replies, xml ) Need Help??


in reply to SSHing in multiple servers and execute command on each

When I wrote ciscodump - dump config info from routers into files, which does a similiar task, I didn't know about Net::OpenSSH::Parallel, so I took the iterative approach. You'd probably have to remove the "enable" command (more or less a second login), but much of the rest should work for you, too.
  • Comment on Re: SSHing in multiple servers and execute command on each

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-25 21:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found