in reply to Re: -q option in Net::OpenSSH
in thread -q option in Net::OpenSSH

Thanks! This was the solution. I used the %opts has on my call to new() and included master_stderr_discard => 1, inside that hash which I was already using for "user" and "password". Thanks again. You Monks rock! *grin*

Replies are listed 'Best First'.
Re^3: -q option in Net::OpenSSH
by Anonymous Monk on Jul 07, 2014 at 20:37 UTC
    Is there a way to combine
    master_opts => [-o => "StrictHostKeyChecking=no", ], master_stderr_dis +card => 1
    in one %opts ? Thanks.
      got it to work with:
      my %opts = (master_opts => [-o => "StrictHostKeyChecking=no"],master_s +tderr_discard => 1);