Name
rsh — command
Synopsis
rshhost
[/userusername
]command-to-execute
Description
This command executes a command on a remote host via a remote shell.
-
host
The hostname of the machine on which to execute the command.
-
/user
username
The username to use when executing the command.
-
command-to-execute
The command to be executed.
Example
The following command executes the command ls
on a machine named sun-machine
as user bob
.
rsh sun-machine /user bob ls
Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.