rsync wont work
Tim Conway
conway at us.ibm.com
Mon Mar 15 14:57:10 GMT 2004
There we are. Thanks. OK, you're using ssh, and you can ssh in, so we
can assume you're getting in.
Now, "ssh root at domain.ltd" and then "which rsync" is different from "ssh
root at domain.ltd which rsync". ssh without a command starts a login shell,
and you get your full environment. With a command, you get a very
stripped-down environment, which is unlikely to have "/usr/local/bin" in
the path.
I can state with near unity certainty that
rsync -vvvcrlpogtz --rsync-path=/usr/local/bin/rsync /tmp/
rsync at domain.ltd:/tmp
will work. Alternately, you could modify your system initialization
scripts to get /usr/local/bin in your basic path, or symlink
/usr/local/bin/rsync into /bin or /usr/bin. I generally leave the system
unmodified, and change my cmdline, but if you're setting up something for
newbies to do their own commandlines, you'll probably end up making it
idiot-proof.
Oh, and you didn't get the email directly because your system wanted me to
authenticate myself. I declined to make the effort. I figured you could
just read the copy from the list.
Good luck,
Tim Conway
Unix System Administration
Contractor - IBM Global Services
conway at us.ibm.com
More information about the rsync
mailing list