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.

I'd be grateful for any help.
Thanks
Rory
-- 
Rory Campbell-Lange 
<[EMAIL PROTECTED]>
<www.campbell-lange.net>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to