Using Internet Services

Chapter 1 11
Logging into a Host with telnet
Using telnet
Using telnet
1. Type telnet at the HP-UX prompt:
telnet
This starts telnet in its command state. In command state, telnet
displays the telnet> prompt. From command state, you can execute
telnet commands. Type ? at the telnet> prompt for a list of telnet
commands.
2. At the telnet> prompt, type open
hostname
or open
IP_address
,as
in the following example, to connect to a remote host:
telnet> open hpabsa
3. Type your user name and password when the remote host prompts
you for it. If you are using the Secure Internet Services version of
telnet you will not be prompted for a login or password. You must
have a valid login to the remote host in order to connect to it with
telnet.
After you log into the remote host, telnet is in input state. When
telnet is in input state, you can use the remote host as if your
terminal or workstation were physically connected to that host.
If certain keystrokes do not do what you expect them to do, or if your
display does not look right, see “Checking Your Remote Terminal
Configuration” on page 13.
4. When you have finished working on the remote host, type the telnet
escape character to return to command state. The escape character is
CTRL-] if you have not changed it with the telnet escape command.
5. At the telnet> prompt, type close
hostname
, as in the following
example, to disconnect from the remote host:
telnet> close hpabsa
6. Type quit to exit from telnet:
telnet> quit