[TAG] rsync not working when trying to update LG mirror

Suramya Tomar security at suramya.com
Wed Oct 3 23:13:02 MSD 2007


Hey Ben,

> It sounds to me like the RSYNC_RSH variable is being ignored by your
> version of 'rsync'. You might want to try making it an explicit
> commandline argument, e.g.
> 
> rsync -avz --rsh=ssh linuxgazette.net::lg-ftp ftpfiles
> '''

When I try the above command I get the following:

u38576182:~/public_html/suramya.com/linux/gazette > rsync -avz --rsh=ssh 
linuxgazette.net::lg-ftp ftpfiles
WARNING: --rsh or -e option ignored when connecting to rsync daemon
rsync: failed to connect to linuxgazette.net: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(97)
u38576182:~/public_html/suramya.com/linux/gazette >

so it looks like you are right, it is ignoring the RSYNC_RSH variable. 
Is there any other way I can force it to use ssh? Otherwise I will have 
to call and yell at my hosting provider to upgrade their rsync version 
(which I am pretty doubtful they would do).

Thanks,
  Suramya

-- 
-------------------------------------------------
Name : Suramya Tomar
Homepage URL: http://www.suramya.com
-------------------------------------------------

************************************************************
Disclaimer:
Any errors in spelling, tact, or fact are transmission errors.
************************************************************




More information about the TAG mailing list