RLOGIN(1)

πŸ“¦ version 0.17, in debian bookworm, ubuntu jammy

🌸 RLOGIN 🌸 (section 1, the General Commands Manual)

okay bestie, sit down, hydrate, because we're logging into somebody else's computer over the network and it's giving vintage πŸ’…. This page lives in the General Commands Manual, and it's about to be your whole personality for the next five minutes.


✨ NAME ✨

rlogin β€” remote login πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

rlogin [-8EKLd] [-e char] [-i identity] [-l username] [-p port] host

πŸ’– DESCRIPTION πŸ’–

So, what does rlogin actually do? It starts a terminal session on a remote host, host. That's it, that's the vibe. You type, the far-away computer listens. Iconic. πŸ‘‘

Now, the auth tea β˜•: rlogin first attempts to use the Kerberos authorization mechanism (described below, keep scrolling babe). And if the remote host doesn't support Kerberos? No stress β€” the standard Berkeley rhosts authorization mechanism gets used instead.

The options are as follows, and yes we're doing all of them, no skipping:

  • -8 β€” the -8 option allows 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.
  • -i β€” the -i option specifies the local user name to use for authentication with the remote rlogind server. This overrides the default, which is the name of the user invoking rlogin.
  • -l β€” the -l option specifies the name of the remote user to login as. This overrides the default, which is the name of the user invoking rlogin.
  • -E β€” the -E option stops any character from being recognized as an escape character. And when you use it together with the -8 option, you get a completely transparent connection. chef's kiss πŸ§‘β€πŸ³
  • -K β€” the -K option turns off all Kerberos authentication. Lowkey important caveat though: this option has no effect since Kerberos authentication is not available in this version. πŸ’€
  • -L β€” the -L option allows the rlogin session to be run in ``litout'' (see tty(4)) mode.
  • -d β€” the -d option turns on socket debugging (see setsockopt(2)) on the TCP sockets used for communication with the remote host.
  • -e β€” the -e option allows 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.
  • -p β€” the -p option specifies the port to connect to. This overrides the default, which is login.

Now for the escape-character lore, because this is where people get got 😭:

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`, 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.

not me explaining this twice so it actually sticks: escape char = ~ by default, delayed-suspend char = ^Y by default. periodt. 🫢

And the transparency bit: 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. slay. ✨


🌈 ENVIRONMENT 🌈

The following environment variable is utilized by rlogin:

  • TERM β€” determines the user's terminal type. πŸ–₯️

πŸ‘‘ SEE ALSO πŸ‘‘


πŸ¦‹ HISTORY πŸ¦‹

The rlogin command appeared in 4.2BSD. vintage fr fr.


πŸ’€ BUGS πŸ’€

  • rlogin will be replaced by telnet(1) in the near future. rip boo, we hardly knew ye 😭
  • More of the environment should be propagated. (they said it, not me πŸ™ˆ)

okay and that's the whole page, bestie!! mwah πŸ’– this was Linux NetKit (0.17), dated August 15, 1999 β€” yes, a 1999 baddie, and it still ate. go log into something remote, stay safe, and remember: tilde-dot to dip. πŸ’…βœ¨

πŸ“¦ where this page comes from