Triggering remote UNIX shell script from Remote desktop

view story

http://www.unix.com – I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like Code: ssh hostname path ksh HC_Report.ksh>out.html ...but it generates the HTML file in remote desktop .i wnt the same cmd(ksh HC_Report.ksh>out.html) to be executed on unix server..s der any possibilities???? (HowTos)