tail head cat sleep
QR code linking to this page

Manual Pages  — RLOGIN


rlogin – remote login



rlogin [-468DEd] [-e char] [-i localname] [-l username] host


rlogin is deprecated and will be removed from future versions of the FreeBSD base system. If rlogin is still required, it can be installed from ports or packages (net/bsdrcmds).


The rlogin utility starts a terminal session on a remote host host.

The standard Berkeley rhosts authorization mechanism is used.

The following options are available:
  Use IPv4 addresses only.
  Use IPv6 addresses only.
  Allow an eight-bit input data path at all times; otherwise parity bits are stripped except when the remote side's stop and start characters are other than ^S/^Q.
  Set the TCP_NODELAY socket option which can improve interactive response at the expense of increased network load.
  Stop any character from being recognized as an escape character. When used with the -8 option, this provides a completely transparent connection.
  Turn on socket debugging (see setsockopt(2)) on the TCP sockets used for communication with the remote host.
  Allow user specification of the escape character, which is "~" by default. This specification may be as a literal character, or as an octal value in the form \nnn.
  Allow the caller to specify a different local name to be used for authentication. This option is restricted to processes with uid 0.
  Specify a different username for the remote login. If this option is not specified, your local username will be used.

A line of the form "<escape char >." disconnects from the remote host. Similarly, the line "<escape char >^Z" will suspend the rlogin session, and "<escape char ><delayed-suspend char >" suspends the send portion of the rlogin session, but allows output from the remote system. By default, the tilde ("~") character is the escape character, and normally control-Y ("^Y") is the delayed-suspend character.

All echoing takes place at the remote site, so that (except for delays) the rlogin is transparent. Flow control via ^S/^Q and flushing of input and output on interrupts are handled properly.


The following environment variable is utilized by rlogin:
TERM Determines the user's terminal type.


$HOME /.rhosts


login(1), rsh(1), telnet(1), setsockopt(2), ruserok(3), tty(4), hosts(5), hosts.equiv(5), rlogind(8), rshd(8)


The rlogin command appeared in BSD 4.2 .

IPv6 support was added by WIDE/KAME project.


The rlogin utility will be replaced by telnet(1) in the near future.

More of the environment should be propagated.

RLOGIN (1) July 3, 2017

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.