rlogin - remote login
rlogin [-8ELDd] [-e char] [-l username] host
The rlogin(1) utility starts a terminal session on a remote host host. The host name can be specified in either name or numeric dot notation.
The rlogin(1) utility first attempts to use the Kerberos authorization mechanism, described later in this topic. If the remote host does not support Kerberos, the standard Berkeley .rhosts authorization mechanism is used. The options are as follows:
A line of the form escape_char. (that is, the escape character followed by a period) disconnects from the remote host. Similarly, the line escape_char followed by CTRL+Z (^Z) suspends the rlogin(1) session, and escape_char followed by delayed-suspend_char suspends the send portion of the rlogin, but allows output from the remote system. By default, the tilde (~) character is the escape character, and CTRL+Y (^Y) is usually the delayed-suspend character.
All echoing takes place at the remote site, so that (except for delays) the rlogin(1) is transparent. Flow control through ^S/^Q and flushing of input and output on interrupts are handled properly.
(The test is done by converting the host number to a host name and then converting the host name to a host number; if the two host numbers do not match, the address might have been spoofed. A user can get similar results by using nslookup(1) to check both the host name and the host number.)
If the name of the binary is a host name (that is, if there is a hard link to rlogin(1) that is the name of a known host), rlogin(1) automatically opens a connection to the host.
The rcp(1) and rshd(1) programs make use of the following files, if they exist:
The following environment variable is utilized by rlogin:(1)
More of the environment should be propagated.
rlogind(1)
rsh(1)