Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: send su password in ssh

by steve (Deacon)
on Sep 30, 2010 at 15:19 UTC ( #862803=note: print w/replies, xml ) Need Help??


in reply to Re: send su password in ssh
in thread send su password in ssh

I have used Net::SSH::Expect to perform this task with both key-based and password authentication.

Any expect-capable script should resolve any of your timing concerns.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://862803]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-01-20 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?