When I do this:
ssh -l root localhost "/stest"
where the file "/stest" contains this:
/usr/bin/lftp -e 'open -u user,pass host && get file && quit' &> /tmp/stest
nothing is redirected to the /tmp/stest file.
however, if I ssh directly into "host" and run the /stest script, the output goes into /tmp/stest the way it is supposed to.
Can you tell me why this is?
Thank you.
Barton
