RLOGIN(1C) — USER COMMANDS
NAME
rlogin − remote login
SYNOPSIS
rlogin rhost [ −ec ] [ −l username ] [ −8 ] rhost [ −ec ] [ −l username ] [ −8 ]
DESCRIPTION
Rlogin connects your terminal on the current local host system lhost to the remote host system rhost.
Each host has a file /etc/hosts.equiv which contains a list of rhost’s with which it shares account names. (The host names must be the standard names as described in rsh(1C).) When you rlogin as the same user on an equivalent host, you don’t need to give a password. Each user may also have a private equivalence list in a file .rhosts in his login directory. Each line in this file should contain an rhost and a username separated by a space, giving additional cases where logins without passwords are to be permitted. If the originating user and host is not found in these files, the remote machine will prompt for a password as in login(1). To avoid some security problems, the .rhosts file must be owned by either the remote user or root and may not be a symbolic link.
Your remote terminal type is the same as your local terminal type (as given in your environment TERM variable). All echoing takes place at the remote site, so that (except for delays) the rlogin is transparent. Flow control via ^S and ^Q and flushing of input and output on interrupts are handled properly.
ESCAPES
Lines starting with the tilde character are ‘escape sequences’ (the escape character can be changed via the −e options):
~.Disconnect from the remote host — this is not the same as a logout, because the local host breaks the connection with no warning to the remote end.
~^ZSuspend the login session (only if you are using the C-Shell). Susp is your ‘suspend’ character — usually control-Z — see tty(1).
~^YSuspend the input half of the login, but output will still be seen (only if you are using the C-Shell). Dsusp is your ‘deferred suspend’ character — usually control-Y — see tty(1).
OPTIONS
−lSpecifies a different user name (username, in the synopsis) for the remote login. If you do not use this option, the remote username used is the same as your local username.
−eSpecifies a different escape character (c, in the synopsis) for the line used to disconnect from the remote host.
−8Pass eight-bit data across the net instead of seven-bit data.
SEE ALSO
FILES
/usr/hosts/∗for rhost version of the command
/etc/hoststo translate hostname to network address
/etc/hosts.equivlist of rhosts with shared account names
~/.rhostsprivate list of rhosts with shared account names
/etc/servicesto translate service name tcp/rlogin to network port number
BUGS
This implementation can only use the TCP network service.
More terminal characteristics should be propagated.
Sun Release 2.0 — Last change: 1 February 1985