Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Expect question

by andyford (Curate)
on Oct 27, 2007 at 11:21 UTC ( #647567=note: print w/ replies, xml ) Need Help??


in reply to Expect question

Ignore me if it won't work for you, but something to consider: If you used pre-positioned ssh keys to authenticate instead of passwords, all your problems described here would just go away. Additionally you won't have to retool your Expect machinations when you hit a different server that acts a bit differently. There are many discussions and tutorials on the web, just search for something like 'using ssh key' and you'll retrieve a wealth of information.

non-Perl: Andy Ford


Comment on Re: Expect question
Re^2: Expect question
by RaduH (Scribe) on Oct 29, 2007 at 15:01 UTC
    Yup, I did think about that and I will use it. However, some scenarios need to go through the more painful experience, cannot always afford the ssh key trick. Thanks for the advice though, good point!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (17)
As of 2014-09-23 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (224 votes), past polls