Page 1 of 1

Execution of Batch file on a Remote Server

Posted: Wed Jul 09, 2008 6:04 am
by nivas
Hi
I need to execute a batch file on a Remote server. The remote server OS is WINDOWS XP. I think RSH and REXEC utilities are for UNIX OS.

could any body suggest hints on it.

thanks
Nivas

Posted: Wed Jul 09, 2008 6:19 am
by chulett
You might want to rethink that.

Posted: Wed Jul 09, 2008 6:39 am
by kcbland
Look into ssh as well when rethinking

Posted: Wed Jul 09, 2008 6:41 am
by nivas
I tried with rsh as follows
rsh <host> -l <userid> <command>

I am getting error as Connection refused.Can't establish connection.

Could you please suggest hints.

thanks
Nivas

Posted: Wed Jul 09, 2008 6:54 am
by iDomz
Some hints from my end

RSH is not running on your Win XP
MS does not provide RSH for windows
There are open and close source implementations which you need to install and open up some ports - your IT team may have interesting opinions on that
If you have an enterprise scheduler, use it to trigger the batch file.

HTH,
D

Posted: Wed Jul 09, 2008 7:28 am
by nivas
Thank you so much for the information. I got help from my IT team.
thanks
Nivas

Posted: Wed Jul 09, 2008 7:56 am
by chulett
Ah... as you should have in the first place. :wink:

Please mark the thread as Resolved and it would be appreciated if you could post the actual resolution, what help they provided. It will help future searchers with the same question.