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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Net::OpenSSH::Parallel Options
by atcroft (Abbot) on Mar 25, 2022 at 22:08 UTC | |
by rgren925 (Beadle) on Mar 25, 2022 at 22:40 UTC | |
Re: Net::OpenSSH::Parallel Options
by etj (Priest) on Apr 04, 2022 at 14:06 UTC | |
by hippo (Archbishop) on Apr 04, 2022 at 14:22 UTC | |
by Fletch (Bishop) on Apr 04, 2022 at 15:36 UTC | |
by eyepopslikeamosquito (Archbishop) on Apr 04, 2022 at 21:29 UTC | |
by etj (Priest) on Apr 04, 2022 at 14:33 UTC | |
by hv (Prior) on Apr 04, 2022 at 15:40 UTC | |
by etj (Priest) on Apr 05, 2022 at 13:41 UTC |