207
Configuring RSH
RSH allows you to execute the commands provided by the OS on a remote host. The remote host must
run the RSH daemon.
The router can serve as an RSH client and provides
rsh
as the tool for the RSH feature.
shows
a typical application scenario.
Figure 77
RSH application
Internet
Router
Host
Remote Shell
Client
Remote Shell
Daemon
The RSH daemon supports authentication of an RSH client by the username. To enable or disable the
RSH daemon on Windows NT, 2000, XP, or 2003, use the Services component.
Configuring RSH
Configuration prerequisites
•
Run RSH daemon on the remote host.
•
Make sure that there are routes between the router and the remote host.
Configuration procedure
Execute a remote host's OS command from the router by using the following command:
To do…
Command…
Remarks
Execute an OS command of a
remote host.
rsh
host
[
user
username
]
command
remote
-
command
Required
Available in user view
NOTE:
If RSH daemon authentication is enabled on the remote host, you must provide the username
configured on the remote host in advance.