Using HP-UX Internet Services (August 2003)

Logging into a Host with rlogin
Using rlogin
Chapter 224
Using rlogin
If you have an account on a remote host, you can use rlogin to log into
the remote host. The following steps describe how to log into a remote
host:
1. Before you log into a remote host with rlogin, ensure that your local
terminal configuration settings are correct for the type of remote
communication you intend to perform. See “Checking Your Local
Terminal Configuration” on page 15, for more information.
2. Issue the following command to log into the remote host:
rlogin
remote_hostname
[-l
remote_login_name
]
Use the -l
remote_login_name
option if your login name on the
remote host is different from the login name for your local account.
3. Type the login name and password for your account on the remote
host when you are prompted for it. If you are using the Secure
Internet Services version of rlogin you will not be prompted for a
password.
If certain keystrokes do not behave as expected, or if your display is
not proper, see “Checking Your Remote Terminal Configuration” on
page 18 for corrective measures.
4. To log out of the remote host, type exit or press CTRL-D at the
command prompt.
rlogin disconnects from the remote host and returns to the HP-UX
prompt on your local host.
You need not specify a password while logging into a remote host if your
local host name is configured in the remote host’s /etc/hosts.equiv
file, and if your login name on the local host matches with your login
name on the remote host.
You can configure a .rhosts file in your home directory on the remote
host that allows you to log in from the local host without supplying your
remote login name and password. See “Creating a $HOME/.rhosts File
on a Remote Host” on page 25 for more information.