Try the --password-file option as described in man rsyncd.conf.

Doesn't work yet for me but it's in the man and somebody on rsync 
maillinglist said me that's work ! ;-)

        François



On Sat, 11 May 2002 02:48:09 +0100
Rory Campbell-Lange <[EMAIL PROTECTED]> 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.
> 
> 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]
> 
> 


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

Reply via email to