← 返回命令列表

Linux command

rsh 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Example

rsh remote_host ls -l

Example

rsh remote_host -l username ls -l

Example

rsh remote_host --no-err ls -l

说明

rsh (remote shell) executes commands on a remote host using the RSH protocol. It provides basic remote command execution capabilities. Note: rsh transmits data unencrypted and is insecure. Use SSH for secure remote command execution.

参数

-l, --user _username_
Specify remote username
--no-err
Redirect stdin from /dev/null

FAQ

What is the rsh command used for?

rsh (remote shell) executes commands on a remote host using the RSH protocol. It provides basic remote command execution capabilities. Note: rsh transmits data unencrypted and is insecure. Use SSH for secure remote command execution.

How do I run a basic rsh example?

Run `rsh remote_host ls -l` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l, --user _username_ do in rsh?

Specify remote username