I set up ssh without authentication on both servers and I have tested it fine. When I do this: #/usr/local/bin/rsync --rsh /usr/local/bin/ssh --rsync-path /usr/local/bin/rsync remote_server::test /home/test rsync: unable to open configuration file "rsyncd.conf": No such file or directory rsync error: syntax or usage error (code 1) at clientserver.c(502) rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(342) Any ideas please.> ---------- > From: rsync-bounces+dteklu=amlaw.com@lists.samba.org on behalf of > Daniel Teklu > Sent: Thursday, January 27, 2005 1:03 PM > To: rsync@lists.samba.org > Subject: pulling files > > I am trying to pull files froma remote server. here is what I have on > rsyncd.conf on the remote server: > > [test] > comment = TEST > path = /home/test > read only = no > uid = root > gid = root > > and on the local server I run > > # rsync -avR --rsync-path=/usr/local/bin/rsync remote_server::test > /home/test > > and I am getting this error: > > @ERROR: invalid gid root > rsync: connection unexpectedly closed (87 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(342) > > is my rsync syntax wrong or it is something else? Please help. Thanks > > -Daniel > -- > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > >
On Thu, Jan 27, 2005 at 02:18:28PM -0500, Daniel Teklu wrote:> #/usr/local/bin/rsync --rsh /usr/local/bin/ssh --rsync-path > /usr/local/bin/rsync remote_server::test /home/testWhen you run a daemon over ssh, you must have an rsyncd.conf file in the home dir of the user that is being accessed via ssh. If you're trying to access an existing rsync daemon, you cannot use the --rsh option (and you might wish to use a tunnelled connection -- there was some discussion of tunnelling rsync via ssh earlier on the mailing list). ..wayne..