Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: -q option in Net::OpenSSH

by kennethk (Abbot)
on May 08, 2012 at 19:25 UTC ( #969527=note: print w/replies, xml ) Need Help??

in reply to -q option in Net::OpenSSH

So, according to the Net::OpenSSH docs,

quiet => 0

By default, scp is called with the quiet flag -q enabled in order to suppress progress information. This option allows reenabling the progress indication bar.

Is that what you tried? Can you show us your code, so we can replicate?

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Replies are listed 'Best First'.
Re^2: -q option in Net::OpenSSH
by web (Initiate) on May 23, 2012 at 17:13 UTC
    First of all, I was using SSH not SCP. And since the "quiet" option only applies to SCP, this suggestion, while appreciated, was not applicable. My code was initially using ssh_opts. I tried applying this as a hash option to $ssh->open2pty() but that did not work. I finally used the suggestion from "salva" to include master_stderr_discard => 1, in the %opts hash on the call to new(). Thanks again.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969527]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2018-05-28 08:36 GMT
Find Nodes?
    Voting Booth?