I've got a client that wants to do backups off-site on my machine. I've
setup a user pointing to a non-standard home directory
/files/backup-client and am using rsync with ssh. I'd like to automate
the process somehow, but I don't want to run rsyncd on my system. With
ssh it always asks for a password. How can I avoid this? I'm currently
using:
rsync /home -r --copy-unsafe-links -l -p -o -g -t -e ssh
[EMAIL PROTECTED]:./
Is there a way I can either prevent ssh from asking for a password and
read it from an environment variable or a file? I'd like to throw this
into a cronjob and let it go once a night. The reason I want to use ssh
is it's being sent across the internet so having a secure tunnel is
relatively vital since files in /home and /etc are being transferred.
Any ideas?
--
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org