Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 chanting in the Monastery: (4)
As of 2014-09-19 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls