There we are.  Thanks.  OK, you're using ssh, and you can ssh in, so we 
can assume you're getting in.
Now,  "ssh [EMAIL PROTECTED]" and then "which rsync" is different from "ssh 
[EMAIL PROTECTED] 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/ 
[EMAIL PROTECTED]:/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
[EMAIL PROTECTED]

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to