![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Net::OpenSSH::Parallel Optionsby rgren925 (Beadle) |
on Mar 25, 2022 at 21:45 UTC ( #11142424=perlquestion: print w/replies, xml ) | Need Help?? |
rgren925 has asked for the wisdom of the Perl Monks concerning the following question: Hi I have written some code using Net::OpenSSH and am now trying to use Net::OpenSSH::Parallel to more easily set up ssh sessions (for issuing commands and sending files) to many servers concurrently. I started down the path of using Parallel::ForkManager to do the Net::OpenSSH sessions but that was pretty cumbersome. Net::OpenSSH::Parallel is working perfectly but for one thing: Net::OpenSSH has some options to eliminate stuff like login banners--using master_stderr_discard and master_stdout_discard--and I want to use them with the parallel version. They don't work directly (i.e., they generate an error when I try to use them with Net::OpenSSH::Parallel). I'm hoping that, since it is based on Net::OpenSSH, there may be a way to set them in Net::OpenSSH::Parallel. Is that do-able and, if not, any recommendations? Thanks very much. Rick.
Back to
Seekers of Perl Wisdom
|
|