On Thu, Apr 03, 2003 at 11:47:49AM -0600, Barton Hodges wrote: > 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.
Try: set cmd:interactive yes -- Alexander.
