-   Linux - Newbie (
-   -   Rsync server over SSH on Fedora 12 (

Lauffray 02-26-2010 07:01 PM

Rsync server over SSH on Fedora 12
New to linux servers and to LQ :)

I'm trying to set up my trusty Fedora box, with rsync over ssh to backup my windows machines at home and I need help configuring the rsync server (I'm using DeltaCopy as the rsync client on the windows side)
I tried a few dry runs but it seems windows can't see the linux box, the rsync job just hangs for ever and never does anything
I should mention that ssh works fine.

here's a sample from my rsyncd.conf ( is the windows machine)
1 max connections = 2
2 log file = /var/log/rsync.log
3 timeout = 300
5 [jerome]
6 comment = Backup test
7 hosts allow =
8 path = /opt3/photo/
9 read only = yes
10 list = yes
11 uid = root
12 gid = root
13 auth users = jerome
14 secrets file = /etc/rsyncd.secrets

[linux-server][/] ~> ps -ef | grep xinetd
root 8204 1 0 19:50 ? 00:00:00 xinetd -stayalive -pidfile /var/run/

Am i forgetting something, ports that need opening? some other daemon i have to configure first?

Thanks !

micxz 02-26-2010 07:14 PM

I didn't know you could do this with windows? Then I found this info:

Lauffray 02-26-2010 08:31 PM

I followed the tutorial at gaztronics and seems to work alright until i invoke rsync from the client (windows) then i get this

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packagi
ng/rsync-3.0.7-1/src/rsync-3.0.7/io.c(601) [sender=3.0.7]

Googling it didn't return very useful results, the FAQ at rsync says that something might be killing the connection halfway through, good luck figuring out what though

micxz 02-26-2010 09:08 PM

Well I guess that best fix would be to replace windows with Linux :)

All times are GMT -5. The time now is 07:43 PM.