LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.





Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.



rsh

rsh [options] host [command]

Execute command on remote host, or, if no command is specified, begin an interactive shell on the remote host using rlogin. The options can be specified before or after host. Use of rsh has generally been replaced with ssh, which offers better security.

Options

-d

Enable socket debugging.

-f

Forward nonforwardable Kerberos credentials to the remote machine and remove them after the command completes. -f and -F are mutually exclusive.

-F

Forward forwardable Kerberos credentials to the remote machine and remove them after the command completes. -f and -F are mutually exclusive.

-k realm

Use the specified realm to obtain tickets for the remote host. By default, the rsh command gets the information from the function krb_realmofhost(3).

-l username

Attempt to log in as username. By default, the name of the user executing rsh is used.

-n

Redirect the input to rsh from the special device /dev/null. (This should be done when backgrounding rsh from a shell prompt, to direct the input away from the terminal.)

-PN, -PO

Request the new or old Kerberos rcmd protocol, respectively.

-x

Encrypt the network session traffic (except the command line).