Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: hiding Expect output

by salva (Abbot)
on Feb 05, 2013 at 08:58 UTC ( #1017086=note: print w/replies, xml ) Need Help??


in reply to hiding Expect output

use Net::OpenSSH; my $ssh = Net::OpenSSH->new($host, user => $user, password => $password, master_stdout_discard => 1, master_stderr_discard => 1); $ssh->system;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017086]
help
Chatterbox?
[choroba]: But you know who's your greatest enemy, right? *wink*
[Discipulus]: so also the dinner alone?
[choroba]: touché
[Discipulus]: first!! drinking is my best fu
[Discipulus]: ouch.. first!!

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-10-19 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (252 votes). Check out past polls.

    Notices?