rsync error - error in rsync protocol data stream (code 12) at io.c(420)

Paul Slootman paul at debian.org
Fri Dec 9 15:17:59 GMT 2005


On Fri 09 Dec 2005, gg gg234 wrote:
> 
> ssh: connect to host x.x.x.x port 22: No route to host
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> rsync error: error in rsync protocol data stream (code 12) at io.c(420)
> 
> this is related to ssh i believe.But when i try to use from the command
> prompt it is working without any problem through ssh

Perhaps you have some host-specific options in ~/.ssh/config that aren't
picked up when running from cron?

Or there's some hidden character after one of the backslashes, or
something like that... Try putting it all on one line in the script.


Paul Slootman


More information about the rsync mailing list