Hi all: I am trying to transfer a file from a machine A to a machine B. I ran a rsync deamon on machine B at a given port. Because there is a firewall between these two machines, I opened the port on the firewall. Is this enough to get rsync work through firewall?
When I tried the transfer, I got the following error messages. my command: rsync -a --copy-links localfile rsync:://me@<my IP>:<port>/<module>/test.dat In the client side, the error messages are rsync: Unknown host rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(151) In the rsync daemon log: 2008/02/15 23:23:56 [5226] rsync: connection unexpectedly closed (0 bytes received so far) [receiver] 2008/02/15 23:23:56 [5226] rsync error: error in rsync protocol data stream (code 12) at io.c(420) >From the daemon log, it looks like the sever did get the connection from the client, but the server lost the connection right away. Does anyone have any idea what went wrong? Thanks a lot. Chuang ---------------- my rsyncd configuration uid = me gid = me use chroot = no #max connections = 4 syslog facility = local5 lock file = /local/rsync/rsyncd.lock log file = /local/rsync/rsyncd.log pid file = /local/rsync/rsyncd.pid motd file = /local/rsync/rsyncd.motd read only = false write only = false [silo] path = /local/rsyncdata comment = silo data area -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html