Jean-Noël Rivasseau
2007-Feb-23 15:11 UTC
rsync not working over firewall, although ssh works
Hello, I have the following setup: * One box at work running Gentoo; (rsync version 2.6.9) * One box at home running OS X; (Apple rsync version 2.6.3, but installing vanilla 2.6.9 did not change anything) * One box at home running Gentoo; (rsync version 2.6.9) At home my machines are behind a firewall, I forward port 22 to the OS X machine and port 23 to the Gentoo box. From my work machine I can correctly use ssh to connect to both machines at home. From my work machine I can also correctly rsync with other servers on the Internet. Finally, between my two machines at home rsync work correctly. However I *cannot* use rsync between my work machine and my machines at home (which is strange, since one month ago I could: I don't know what I've changed...). What happens is: rsync -avvvnze 'ssh -p 23' rsy elvanor@elvanor.net:/home/elvanor/ opening connection using ssh -p 23 -l elvanor elvanor.net rsync --server -vvvnlogDtprz . /home/elvanor/ Read from remote host elvanor.net: Connection timed out rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(453) [sender=2.6.9] _exit_cleanup(code=12, file=io.c, line=453): about to call exit(255) Authentication is working (I am using public key RSA authentication - same thing happens with password based authentication, eg nothing happens after I enter successfully my password). This could look like a firewall issue, but I am surprised since ssh works OK. I thought that if SSH worked, rsync used the same ports? Any help would be greatly appreciated. Jean-No?l Rivasseau -------------- next part -------------- 3j?Zr??? ???y??v?????