Discussion Locked

how remote command execution

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello :

Help please .I wanted know . How to do remote commnand execute in automate processing from Windows NT to Unix server ?

I could write it in batch file for DOS window ???.

Tanks

1 reply

by dee-em

If you want to execute from the DOS prompt:

RSH host [-l username] [-n] command

Ensure the client is allowed to execute remote commands on the UNIX server. Normally, you would have to ensure you have an entry of the following format in /etc/hosts on the server

Client_IP_Address Client_Machine_Name

For example, if your client machine is called technet and has the IP address 163.122.12.124, then you should have the following entry in /etc/hosts

163.122.12.124 technet

If you are planning to execute remote commands on the UNIX server from within a program in Windows, it involves a little more programming with sockets, but provides you much more control and error handling. But it wouldn't fit here, within the provided maximum length of 1930 for an answer. Feel free to send an email to dmn92@msn.com for more details.

Hope this helps...

This discussion is closed to new replies.