[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RSYNC - Automation. with out password



> I want to use Rsync for backup purpose. I am planning to use the SSH as the
> carrier. There is option avilable with rsync command for this. But when ever I
> use this command with SSH functionality it is asking password.  Inspite of
> giving the file name "containing the password" in command  rsync is still
> prompting for password.
> 
> Actually I want to automate Rsync through cronjob. But how to manage giving
> the passwords again and again. while using RSYNC with SSH Is there any option
> to set the password in any file and the rsync will take the password from
> there. 

Check permissions on your key files and the directories they're in. I assume
you are generating keys without a passphrase. To troublshoot, try and login
via ssh in verbose mode so that you can see why it's still asking for a
passphrase. Here's some helpful links:

http://www.freebsddiary.org/rsync.php

http://lists.samba.org/pipermail/rsync/2001-April/004080.html

http://lists.samba.org/pipermail/rsync/2001-March/004019.html

http://www.ccp14.ac.uk/ccp14admin/rsync/#server

http://rsync.samba.org/fom-serve/cache/105.html

hth,
j

-- 
http://www.bizmanuals.com