[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] automating an ssh script?



>>>>> "ChangingLINKS" == ChangingLINKS com <ChangingLINKS.com> writes:

[...]

    ChangingLINKS> below). Anyone know how to automate this deal with
    ChangingLINKS> the PASSWORDS entered. If it is to be one script, I
    ChangingLINKS> may have to exit (as show below) to do the
    ChangingLINKS> scp. Anyone?


        Take a look at the ssh/sshd/ssh-keygen/ssh-agent manual pages.
If you set things up to use RSA or DSA based keys you can get away
without typing passwords.


        If that's not what you're looking for, look at the tcl-based
expect utility (ships with most distributions) or the Perl Expect
module (available from CPAN).

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
770 294-0820 (m)      |                                               U

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.