rsh(remote shell)
rsh(remote shell)功能说明:远端登入的Shell。
语 法:rsh [-dn][-l <用户名称>][主机名称或IP地址][执行指令]
补充说明:rsh提供用户环境,也就是Shell,以便指令能够在指定的远端主机上执行。
参 数:
-d 使用Socket层级的排错功能。
-l<用户名称> 指定要登入远端主机的用户名称。
-n 把输入的指令号向代号为/dev/null的特殊外围设备。
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
Enable socket debugging.
Forward nonforwardable Kerberos credentials to the remote machine and remove them after the command completes. -f and -F are mutually exclusive.
Forward forwardable Kerberos credentials to the remote machine and remove them after the command completes. -f and -F are mutually exclusive.
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) .
Attempt to log in as username. By default, the name of the user executing rsh is used.
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.)
Request the new or old Kerberos rcmd protocol, respectively.
Encrypt the network session traffic (except the command line).