Do you know where your variables are? | |
PerlMonks |
Re: SSHing in multiple servers and execute command on eachby soonix (Canon) |
on Jun 27, 2018 at 09:17 UTC ( [id://1217492]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|