HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
t
telnet(1) telnet(1)
The fallback option can be set in the
krb5.conf file within [appdefaults] section. If
fallback 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. Kerberos-specific options are not sup-
ported in the IPV6 environment.
-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 variable is not
defined, the name used is that returned by
getpwnam() (see getpwent(3C)) if it matches with
the current user ID. Otherwise, it is the name associated with the user ID.
-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 of -f or -F is allowed.
-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
-f or -F is allowed.
-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.
-P This option is applicable only in a secure environment based on Kerberos V5. Disable use of Ker-
beros authentication and authorization. When this option is specified, a password is required
that is sent across the network in a readable form. (See sis(5).)
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,
telnet
attempts to contact a TELNET server at the standard TELNET port. In the IPv4 environ-
ment, hostname can be either the official name or an alias as understood by
gethost-
byname()
(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 getipnodebyname()
(see getipnodebyname(3N)) or an Inter-
net address specified in the colon notation as described in hosts(4). If no hostname 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
EOF (normally ˆD; see stty(1)). Note that setting line-mode also sets local echo. Applica-
tions that expect to interpret user input character by character (such as more, csh, ksh,
and vi) do not work properly in line mode.
status Show current status of telnet. telnet reports the current escape character. If
telnet is connected, it reports the host to which it is connected and the current mode.If
HP-UX 11i Version 1: September 2005 − 2 − Hewlett-Packard Company Section 1−−965