Runs a command on another computer.
| -n |
Redirect the input of rsh to /dev/null. You
sometimes need this option to avoid unfortunate interactions between rsh and the shell which
invokes it. For example, if you are running rsh and invoke a rsh in the background without
redirecting its input away from the terminal, it will block even if no reads are posted by the
remote command. The -n option will prevent this. |
| +a |
Enable authentication agent forwarding. |
| -a |
Disable authentication agent forwarding. |
| +x |
Enable X11 connection forwarding. |
| -x |
Disable X11 connection forwarding. |
| -i file |
Identity file for public key authentication |
| -F file |
Read an alternative configuration file. |
| -t |
Tty; allocate a tty even if command is given. |
| -v |
Verbose; display verbose debugging messages. Equal to `-d 2' |
| -d level |
Set debug level. |
| -V |
Display version number only. |
| -q |
Quiet; don't display any warning messages. |
| -f[o] |
Fork into background after authentication. With optional 'o' argument, goes to "one-shot" mode. |
| -e char |
Set escape character; ``none'' = disable (default: ~). |
| -c cipher |
Select encryption algorithm. Multiple -c options are allowed and a single -c flag can have only one cipher. |
| -p port |
Connect to this port. Server must be on the same port. |
| -P |
Don't use priviledged source port. |
| -S |
Don't request a session channel. |
| -L listen-port:host:port |
Forward local port to remote address.
Cause ssh to listen for connections on a port, and forward them to the other side by connecting to
host:port. |
| -R listen-port:host:port |
Forward remote port to local address.
Cause ssh to listen for connections on a port, and forward them to the other side by connecting to host:port. |
| +C |
Enable compression. |
| -C |
Disable compression. |
| -o 'option' |
Process the option as if it was read from a configuration file. |
| -l username |
Use username as the remote username
instead of your local username. In the absence of this option,
the remote username is the same as your local username. |
| hostname |
The name of the other computer or
host. |
| command |
The command to be executed on the
hostname |
The rsh cannot be used to run interactive commands. Instead use the
rlogin command.