Koozali.org: home of the SME Server

rsync errors

Jack McCauley

rsync errors
« on: November 03, 2001, 06:45:10 PM »
I am trying to setup rsync to synchronize a website being developed on a RedHat 7.0 system to an SME V5.0 system.  I am using the command below:

rsync -avv --progress --stats rsync://pc-00131:usr/local/erp .

and the system responds with the following error message:

failed to connect to pc-00131 - Connection refused

Do I need to setup an rsync server on the source machine?  Is their a permissions file I need to edit?

Les Mikesell

Re: rsync errors
« Reply #1 on: November 03, 2001, 10:56:51 PM »
There are about a dozen ways to configure the server side of rsync.  The most 'natural' way under unix would be to configure rsh permissions with a .rhosts file.  However rsh is not very secure and the SME distribution doesn't include it.  The next easiest is to have sshd (secure shell) running with passwords allowed, which may already be the case on your RH system.  Then you would use:
rsync -essh -av remote_host:/remote_path . and you will be prompted for the password for the remote server.  If you need access as a different user on the remote side, use the form user@remote_host:/remote_path.