1832554 Members
6584 Online
110043 Solutions
New Discussion

remsh to win2k3

 
James Odak
Valued Contributor

remsh to win2k3

I am wonding if anyone can help me with this.
I would like to be able to remsh a command to a Win2k3 server to simply execute a bat file

obviously i could just do
remsh server "/fs/fs/command"
if it was a UNIX server

Is there a way to do the same from a Unix server/script to a Win2K3 server?


Thanks
5 REPLIES 5
Helen French
Honored Contributor

Re: remsh to win2k3

Try 'rexec' command instead. The command syntax and execution is almost the same in both OS. Check:

# man rexec

and "Help" on rexec in Windows system
Life is a promise, fulfill it!
Stephen Keane
Honored Contributor

Re: remsh to win2k3

Does Win2000 support RPC?
Florian Heigl (new acc)
Honored Contributor

Re: remsh to win2k3

Stephen: Yes, there are network named pipes available to programmers that know how to use such a thing :)

James:

Look at the following thread -
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=814667
yesterday I stood at the edge. Today I'm one step ahead.
A. Clay Stephenson
Acclaimed Contributor

Re: remsh to win2k3

One approach is to install Microsoft Services for UNIX (SFU). You can download it from
http://www.microsoft.com/downloads/details.aspx?FamilyID=896c9688-601b-44f1-81a4-02878ff11778&DisplayLang=en
You could then truly remsh and moreover you could remsh a shell script on the Windows box that way (or a batch file). I find that if I have to write scripts which will run on Windows that Perl is the least evil choice.
If it ain't broke, I can fix that.
Sheriff Andy
Trusted Contributor