Why do I get connection refused for rsync?
eg. #rsync rpm/ root@203.211.145.70:. connect to address 203.211.145.70 port 544: Connection refused Trying krb4 rsh… connect to address 203.211.145.70 port 544: Connection refused trying normal rsh (/usr/bin/rsh) 203.211.145.70: Connection refused rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(170) Usually servers are no longer (for a number of years) setup to use rsh. rsync defaults to rsh. use the RSYNC_RSH variable to change to ssh, eg. export RSYNC_RSH=ssh then run rsync This will also fix a problem with vzmigrate for migrating parallels (formerly virtuozzo) Containers (or VEs) from one host to another. If you get an error that says something like “broken pipe”, check if its due to rsync using rsh and not being able to connect to the destination server.