RSYNC auto configuration

Bob Hutchinson hutchlists at midwales.com
Fri Mar 17 22:25:01 GMT 2006


On Friday 17 Mar 2006 20:52, Ahmed Ndaula wrote:
> Hi Folks,
>
> At the moment, I am at the stage where I can only do the back manual. I
> have run the first steps of configure and then make. Now when I run this
> command, I can be able to have files transfered to a remote server
>    rsync -t (filename) (remote-location) forinstance
>   rsync -t *.p dev:testing
>
> and doing this, I am still asked for the password for the remote server. I
> have tried copying the key generated to the ssh directory of the remote
> server but still doing the same thing. I would like to seek help on how to
> automate it and probably having the key issue work automatic.

test the ssh link manually first. Check the permissions on the remote server 
for .ssh and contents. They must *not* be world readable. I'm assuming Linux 
here as you did not say which OS.

Once you can connect to the remote server using ssh without a password then 
try rsync.

rsync -av *.p me at dev.com:/my/path/to/backup

Once that is working you might want to consider the excellent backup tool from
rsnapshot.org


-- 
-----------------
Bob Hutchinson
Midwales dot com
-----------------


More information about the rsync mailing list