next up previous contents index
Next: remsh Up: Remote Shell Previous: Remote Shell

rsh

  You can execute commands on a remote system and have the output displayed on your terminal with rsh which stands for remote shell. In order for this to work, there must be an appropriate .rhosts file on the remote machine. The format is:
 
               		  rsh  rhost [-l  username] [ command]

where
 
 rhost    		 is the name of the remote host on which the command 
                  is to execute.

username is the username if different on the remote system than the originating system.

command is the command to be executed on the remote system.

The command might be just a simple command, or it might execute a shell script on the remote system. Metacharacters in the command should be quoted if they are to be interpreted on the remote machine.



Alan Silverman
Wed Apr 12 16:54:02 METDST 1995