On Fri, 2003-10-10 at 14:16, Bill Tangren wrote:Thanks! Very handy indeed.
Chris Purcell wrote:
I already know how to run ssh without using a password (i.e. create a key that has no password, and scp that key to the other machine). I thought there was a better way than to create keys that don't have passwords.I tried this on both the backup machine, and the machine to be backed up. I still get prompted for a password. Could you (or someone else) provide an example of how you would use this in a script that uses rsync and ssh to backup files from one machine to another? I read the man pages for ssh-agent and ssh-add, and it was not clear to me. The eval function provides ssh-agent's pid, but I'm not sure how to use it in this case.
TIA, Bill
There is: http://www.samag.com/documents/s=7762/sam0301c/0301c.htm
Very handy.
Bret
Bill
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list