Copyright 1998 Pragma Systems, Inc.
rsh.exe
A remote shell daemon will execute a single command on the server. The Remote Shell Client is needed to initiate a connection with the daemon and return the output to the client.
Required parameters are the remote shell daemon host name and the command to be run. If the username is left blank, the current logged on username will be used. If there is not a current logged on username, a username must be provided as a parameter.
Allowed users are authenticated by the .RHOSTS file. If the username parameter and local machine match an allowed user in the .RHOSTS file, the command will be processed. See the documentation for the remote shell daemon for instructions on the .RHOSTS file.
USAGE
rsh host [-l login] command
PARAMETER EXPLANATION
Host Computer name of host running a rsh daemon
-l login Username for authentication
command Command to execute on remote machine
/? Displays text help file
EXAMPLES
Get a directory listing of the temp directory on the machine \\PRODUCTION
rsh PRODUCTION -l Username dir c:\temp
Run a batch file on the machine \\PRODUCTION
rsh PRODUCTION -l Username build
Run a batch file on the machine \\PRODUCTION, while logged on to local machine
rsh PRODUCTION build