HP-UX Reference (11i v2 04/09) - 1 User Commands N-Z (vol 2)

t
telnet(1) telnet(1)
autologin, forward, and forwardable respectively. Refer to the appdefaults Section of the
krb5.conf(4) manpage for more information.
The
fallback option can be set in the
krb5.conf file within appdefaults Section .Iffallback is set
to true and the kerberos authentication fails,
telnet will use the non-secure mode of authentication.
Note: Command line options override configuration file options.
The following options are Kerboros-specific:
-a This option is applicable only in a secure environment based on Kerberos V5. Attempt
automatic login into the Kerberos realm and disable the TAC User ID option.
Note: This is the default login mode.
Sends the user name via the NAME subnegotiation of the Authentication option. The name
used is that of the current user as returned by the USER environment variable. If this vari-
able is not defined, the name used is that returned by
getpwnam() (see getpwent (3C)) if it
agrees with the current user ID. Otherwise, it is the name associated with the user ID.
-P This option is applicable only in a secure environment based on Kerberos V5. Disable use of
Kerberos authentication and authorization. When this option is specified, a password is
required that is sent across the network in a readable form. See the sis(5) manpage.
-f This option is applicable only in a secure environment based on Kerberos V5. Allows local
credentials to be forwarded to the remote system. Only one -f or -F option is allowed. They
cannot be used together.
-F This option is applicable only in a secure environment based on Kerberos V5. Allows local
credentials to be forwarded to the remote system including any credentials that have already
been forwarded into the local environment. Only one -f or -F option is allowed. They cannot
be used together.
-l user This option is applicable only in a secure environment based on Kerberos V5. Attempt
automatic login into the Kerberos realm as the specified user and disable the TAC User ID
option. The user name specified is sent via the NAME subnegotiation of the Authentication
option. Omitting the -l option executes the default setting. Only one -l option is allowed.
Commands
The following commands are available in command mode. You need to type only sufficient prefix of each
command to uniquely identify it (this is also true for arguments to the
mode, set
, toggle, and
display commands).
open host [ port ]
Open a connection to the named host at the indicated port. If no port is specified,
tel-
net attempts to contact a TELNET server at the standard TELNET port. In the IPv4
environment, hostname can be either the official name or an alias as understood by
gethostbyname() (see gethostent (3N)) or an Internet address specified in the dot
notation as described in hosts(4). In the IPv6 environment, hostname can be either the
official name or an alias as understood by
getnameinfo() (see getnameinfo (3N)) or
an Internet address specified in the colon notation as described in hosts(4). If no host-
name is given, telnet prompts for one.
close Close a TELNET session. If the session was started from command mode, telnet
returns to command mode; otherwise telnet exits.
quit Close any open TELNET session and exit telnet. An end of file (in command mode)
will also close a session and exit.
z Suspend telnet.Iftelnet is run from a shell that supports job control, (such as
csh(1) or ksh(1)), the z command suspends the TELNET session and returns the user to
the shell that invoked telnet. Then the job can be resumed by using the fg command
(see csh(1) or ksh(1)).
mode mode Change telnet’s user input mode to mode, which can be character (for "character at
a time" mode) or line (for "line by line" mode). The remote host is asked for permission
to go into the requested mode. If the remote host is capable of entering that mode, the
requested mode is entered. In character mode, telnet sends each character to the
remote host as it is typed. In line mode, telnet gathers user input into lines and
transmits each line to the remote host when the user types carriage return, linefeed, or
HP-UX 11i Version 2: September 2004 2 Hewlett-Packard Company Section 1919