RLOGIN(1C) — USER COMMANDS
NAME
rlogin − remote login
SYNOPSIS
rlogin rhost [ −ec ] [ −l username ] [ −7 ] [ −8 ]
rhost [ −ec ] [ −l username ] [ −7 ] [ −8 ]
DESCRIPTION
rlogin connects your terminal on the current local host system lhost to the remote host system rhost.
Host names are given in the file /etc/hosts. Each host has one standard name (the first name given in the file), which is unambiguous, and optionally one or more nicknames. The host names for machines to which your machine is networked are also found in the directory /usr/hosts, as symbolic links to rsh. If you put this directory in your search path then the rlogin can be omitted.
Additionally, each host has a file /etc/hosts.equiv which contains a list of rhost’s with which it shares account names. When you rlogin on a host specified in your /etc/hosts.equiv (and if the remote host, in turn, specifies your host in its /etc/hosts.equiv) 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.
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 that you type which start 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.
~suspSuspend the login session (only if you are using the C-Shell). susp is your ‘suspend’ character — usually ^Z — see tty(1).
dsuspSuspend 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 ^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/hosts.equivlist of rhosts with shared account names
~/.rhostsprivate list of rhosts with shared account names
BUGS
This implementation can only use the TCP network service.
More terminal characteristics should be propagated.
Sun Release 3.0β — Last change: 23 September 1985