how to execute a script on remote machine

hi unix guru's
i am new to unix shell programming.

i found a trouble in executing a script(bali.ksh) which is available on serverA with username xyza, this script contains sqlplus command to retrive the data from the database available on other serverC.

Now i need to run the above script from other unix serverB with other username xyzb.

plz let me know the method to solve above problem

thanks and regards
-Bali Reddy

use "remseh", look at the man pages for full syntax.
if you have a security issues you may need to consider "ssh" Secure SHell

may i know prerequisite to use ssh

to use rsh ,first you have to configure rsh on both the server

rsh hostname "/path/command_or_script"

but script has to be available on remote system.

theres a web site www.openssh.com but I would start by looking at your vendors support web site to see what they offer as free down loads. At least you know the version of openssh you are about to use has come from a reliable source and you may get help with it directly from them.