On 09/12/05, Paul Slootman <[EMAIL PROTECTED]> wrote:
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
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html