rhosts(5)

rhosts5

Allow rlogin, rsh and rcp connections to the local machine without a password.

Usage

$HOME/.rhosts

Overview

The .rhosts file can allow specific remote users and/or hosts to execute commands on the local machine. The file uses the following format:

host [user | @group]

Such an entry grants password-free access for the user with the login name user from host. If no user is specified, the user must have the same login name on the remote host and the local host. For security reasons you should always use the FQDN of the hostname and not the short hostname. Netgroups can be specified by preceding the group by an @ sign.

The .rhosts file must be owned by the user or root, and writable only by the owner.

Releases

17 releases since Debian 1.1 (Buzz); the text changed 3 times.

  1. 1.1–1.3
  2. 2.0–2.1
  3. 2.2–11
  4. 12

From rsh-redone-server 85-4 in Debian 12 (Bookworm). Also shipped by rsh-server. Parsed by carta from the page's mdoc source.