---
name: "rsh-redone-rsh"
section: "1"
platform: "linux"
package: "rsh-redone-client"
version: "85-4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/rsh-redone-rsh"
---

# rsh-redone-rsh(1)

remote shell

## NAME

**rsh** – remote shell

## SYNOPSIS

**rsh** \[**-46v**\] \[**-l** *user*\] \[**-p** *port*\]\[*user*@\] *host* *command*

## DESCRIPTION

**rsh** makes a connection to the remote shell daemon running on *host* and starts *command* on the remote machine. All input is transmitted to the remote machine and all output on the remote machine is sent back to the **rsh** client on the local machine.

## OPTIONS

- **-4**

  Use only IPv4 to connect to the remote host.

- **-6**

  Use only IPv6 to connect to the remote host.

- **-v**

  Be verbose.

- **-n**

  Redirect stdin to */dev/null* to be able to run rsh in the background.

- **-l** *user*

  Connect to the remote host as a different user than on the local machine.

- **-p** *port*

  Connect to a different port than the default one for **rsh**.

## SEE ALSO

[rshd(8)](/rshd/8.md), [rlogin(1)](/rlogin/1.md), [rlogind(8)](/rlogind/8.md), [rcp(1)](/rcp/1.md), [rhosts(5)](/rhosts/5.md), RFC 1282.
