Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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.

Comment on Re: -q option in Net::OpenSSH
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2015-10-04 03:15 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (98 votes), past polls