rsh |
Runs commands on remote machines running the rsh service.
rsh remotehost [-l username ] [-n] command
The remote machine running the rsh service.
The credentials used to run the command on the remote host.
Redirection of standard input of rexec to null. (Try using this for commands that run interactively.)
The command to remotely execute (enclose in quotes if there are embedded spaces).
Perform a directory listing on the Unix machine BONGO as user mitcht by remotely executing the ls command:
rsh bongo -l mitcht "ls ~" doc fig read.ps
WS2003 includes only the client-side rsh command, so this command is typically used to remotely execute processes on Unix machines.
Unlike the rexec command discussed earlier, rsh doesn't prompt for a password before executing the command remotely. rsh uses the same authentication mechanism used by rcp , namely the .rhosts file on the remote machine.
rcp , rexec , telnet