Share via


Rsh

This connectivity tool runs commands on remote hosts using the Rsh service. For information about the Rhosts file used to enable this tool, see the Rcp tool.

Syntax

rshhost [– lusername ] [– n ] command

Switches

l [ username ]

Specifies the user name to be used on the remote host. If this parameter is omitted, the logged-on user's name is used.

n

Redirects the input of Rsh to NUL.

Variables

host

Specifies the remote host.

command

Specifies the command to run.