rsh(1)

rsh1

Remote shell client

Usage

rsh [OPTION ...] [USER@] HOST [COMMAND [ARG ...]]

Overview

remote shell

-4, --ipv4

use only IPv4

-6, --ipv6

use only IPv6

-8, --8-bit

allows an eight-bit input data path at all times

-d, --debug

turns on socket debugging (see setsockopt(2))

-e, --escape=CHAR

allows user specification of the escape character (``~'' by default)

-l, --user=USER

run as USER on the remote system

-n, --no-input

use /dev/null as input

-?, --help

give this help list

--usage

give a short usage message

-V, --version

print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Releases

7 releases since Debian 1.1 (Buzz); the text changed 4 times.

  1. 1.1
  2. 1.2
  3. 1.3–2.1
  4. 2.2
  5. Arch

--8-bit since Arch Linux 2026-11-01; --debug since Arch Linux 2026-11-01; --escape since Arch Linux 2026-11-01; --help since Arch Linux 2026-11-01; --ipv4 since Arch Linux 2026-11-01; --ipv6 since Arch Linux 2026-11-01; --no-input since Arch Linux 2026-11-01; --usage since Arch Linux 2026-11-01; --user since Arch Linux 2026-11-01; --version since Arch Linux 2026-11-01; -4 since Arch Linux 2026-11-01; -6 since Arch Linux 2026-11-01; -8 since Arch Linux 2026-11-01; -? since Arch Linux 2026-11-01; -V since Arch Linux 2026-11-01; -e since Arch Linux 2026-11-01.

-K until Debian 2.2 (Potato); -k until Debian 2.1 (Slink); -x until Debian 2.1 (Slink).

Author

Written by many authors.

Reporting bugs

Report bugs to <[email protected]>.

From inetutils 2.8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.