[LUNI] rsync problem

Ramin K ramin-list at badapple.net
Sat Jan 26 18:28:36 CST 2008


Richard Reina wrote:
> I just set up a rsync server on my LAN.  Thought I did everything
> right but when I try to send a file I get:
> 
> rsync: failed to connect to 192.168.0.7: No route to host (113) rsync
> error: error in socket IO (code 10) at clientserver.c(94)
> 
> I can ping back in forth between the machines w/ no problems.
> 
> Any help would be greatly appreciated, as I would very much like to
> go home and be with my family instead of working on this annoying
> problem.

Couple of things on this.

Running an rsync server is yet another bit of software you have to 
manage, secure, and keep up to date. I recommend against running one and 
just default everything over ssh which you already have.

There are two syntax you can use.

rsync -avz /src/dir/ user at dest_machine:/dest/dir/

Chances are rsync will use SSH just fine with the above syntax unless 
you're running an older distro of Linux or have a wacky environment with 
rsh and nonsense set.

rsync -avz -e "ssh -c blowfish" /src/dir/ user at dest_machine:/dest/dir/

Lots of admins use the above because they want extra options like 
setting the ssh cipher to blowfish which use significantly less CPU 
though with modern processors and AES it's less of an issue.

Ramin


More information about the luni mailing list