Re: rsync over ssh without password
I've now setup the server to look for the client and do the backups.
Works fine. However I'd like to edit the clients .ssh/authorized_keys
file to only allow rsync to be run from the server.
I've tried
command="/usr/bin/rsync ~/" ssh-rsa [key] name@server
but this is failing because, I assume, the server is running rsync (over
ssh) and it is not running on the client.
Thanks for any further help!
On 10/05/02, Alvin Oga (aoga@Maggie.Linux-Consulting.com) wrote:
> ( backups should NOT be on the machine its backing up )
>
> another backupserver fires off its (rsync) cron job to copy
> home-server:/export/Backup/.... onto backup:/safedir/Backup
> - confgure /export/Backup in /etc/exports
> to be readable by backup only
>
> # on backup, a (root) cron job runs
> /usr/bin/rsync -avz --delete home-server::export/backup \
> /safedir/backups/
>
> - no passwds ... no keys(might be a bad idea)...
>
> On Sat, 11 May 2002, Rory Campbell-Lange wrote:
> > I'd like to automate a backup of a user's machine to the server.
--
Rory Campbell-Lange
<rory@campbell-lange.net>
<www.campbell-lange.net>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: