Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Answer: How do I send passwd via Expect.pm w/o printing it clear text to screen

( #147210=categorized answer: print w/ replies, xml ) Need Help??

Q&A > input and output > How do I send passwd via Expect.pm w/o printing it clear text to screen contributed by zengargoyle

Update: that might need to be $scp->slave_pty->stty('-echo') and $scp->slave_pty->stty('echo'). or you might need to use one of the $obj->log_* or Expect::Log_* function/variables to tweak what gets displayed where and when.

Comment on Answer: How do I send passwd via Expect.pm w/o printing it clear text to screen
Select or Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-12-27 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls