Console Remote Access Clients >

 

Remote Shell Client

 

 

rsh.exe

A remote shell daemon will execute a single command on the server. The remote shell client, rsh, 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 user, 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

Parameters

Host

Computer name of host running a rexec 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 

 

 

Copyright © 2023 Pragma Systems Inc