|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Net::OpenSSH::Parallel Optionsby atcroft (Abbot) |
| on Mar 25, 2022 at 22:08 UTC ( [id://11142425]=note: print w/replies, xml ) | Need Help?? |
|
Are you trying to add them in the Net::OpenSSH::Parallel constructor (my $pssh = Net::OpenSSH::Parallel->new()) call? If so, take a look at the section on the 'add_host' method--specifically, it says, "[A]ny additional option will be passed verbatim to the Net::OpenSSH constructor later." So I suspect the following *MIGHT* work (*UNTESTED*):
Hope that helps.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||