Remote Logins
You can log on to
another computer (while remaining logged in on the computer you're
currently using) by using the "rlogin" command. "rlogin" sends every
character you type to the other system, except [~] which is used to
give commands to "rlogin" when typed after [RETURN]. To send a [~] to
the other computer, type [~][~]. Typing [~][.] closes the connection
with the other computer and [~][CTRL-Z] suspends rlogin. To connect to
another computer, type "rlogin" followed by the name of the other
computer. For example:
rlogin clyde
If your account is not listed in the '.rhosts' file of the account you
are logging in to, you will be prompted for a password.
If your account on the remote machine uses a different username than
your local account name, use the "-l" option with your remote username:
rlogin bonnie -l jsmith
Actually, "rlogin" doesn't send literally every character except [~].
It also traps [CTRL-S] and [CTRL-Q] as stop and start characters. To
cause these characters to be passed to the other system (if you're
using some program that needs them, such as
"emacs"), use the "-8" option
when using "rlogin".
Click here to go to the next section.
Or click here to go to the
top of the chapter.