[TAG] rsync not working when trying to update LG mirror
Rick Moen
rick at linuxmafia.com
Fri Oct 5 21:30:42 MSD 2007
Quoting Suramya Tomar (security at suramya.com):
> Hey Jim,
>
> >> 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?
> >
> > reading Manual pages is useful and fun :-)
>
> Yeah. Reading it is fun, figuring out what it means usually gets
> interesting.
FWIW, I too have found rsync to frequently ignore the environment
variable, even though I have it always set in my shell environment:
$ set | grep RSYNC
RSYNC_RSH=/usr/bin/ssh
Frustrating, isn't it? It's so messy to junk up scripts (and command
lines) with "-e ..." stuff, that it's really tempting to just do:
$ su -
# cd /usr/bin ; mv rsh rsh.old ; ln ssh rsh
# exit
Grrr!
More information about the TAG
mailing list