hi ya rory just a comment...
- i do backups via root's cron ... - root should be able to read tom, dick and harry's local home directory - a hours after home-server creates a local backup of the users dir... ( 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/ ( this is only withing the local lan... - no passwds ... no keys(might be a bad idea)... c ya alvin http://www.linux-Backup.net On Sat, 11 May 2002, Rory Campbell-Lange wrote: > I'd like to automate a backup of a user's machine to the server. I've > set up the backup with rsync using ssh (not rsyncd on the server). I > know that it is easy to set this up with rsyncd, but I'd prefer to learn > how to do this with ssh! > > I'd like to be able to run the backup without providing a password, but > rather just the user's id key. I've had a look at the sshd man page and > tried setting up this system to no avail. > > I've generated the user's keys and then logged into the user's server > area and created ~/.ssh/authorized_keys. That file contains the user's > public key in the form: > > 1024 35 [key] [EMAIL PROTECTED] > > I've tried messing around with > > command="touch hi" 1024 35 [key] [EMAIL PROTECTED] > > and I have uncommented the AuthorizedKeysFile setting in > /etc/ssh/sshd_config, but otherwise left this alone. > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]