Manual oficial telnet

Solo disponible en BuenasTareas
  • Páginas : 19 (4519 palabras )
  • Descarga(s) : 9
  • Publicado : 25 de agosto de 2010
Leer documento completo
Vista previa del texto
TELNET(1) BSD General Commands Manual TELNET(1)

telnet -- user interface to the TELNET protocol

telnet [-468EFKLNacdfruxy] [-S tos] [-X authtype] [-e escapechar]
[-k realm] [-l user] [-n tracefile] [-s src_addr] [host [port]]

The telnet command is used to communicate with another host using theTELNET protocol. If telnet is invoked without the host argument, it
enters command mode, indicated by its prompt (``telnet>''). In this
mode, it accepts and executes the commands listed below. If it is
invoked with arguments, it performs an open command with those arguments.


-4 Forces telnet to use IPv4 addresses only.

-6 Forcestelnet to use IPv6 addresses only.

-8 Specifies an 8-bit data path. This causes an attempt to negoti-
ate the TELNET BINARY option on both input and output.

-E Stops any character from being recognized as an escape character.

-F If Kerberos V5 authentication is being used, the -F option allows
the local credentials to be forwarded tothe remote system,
including any credentials that have already been forwarded into
the local environment.

-K Specifies no automatic login to the remote system.

-L Specifies an 8-bit data path on output. This causes the BINARY
option to be negotiated on output.

-N Prevents IP address to name lookup when destinationhost is given
as an IP address.

-S tos Sets the IP type-of-service (TOS) option for the telnet connec-
tion to the value tos, which can be a numeric TOS value or, on
systems that support it, a symbolic TOS name found in the
/etc/iptos file.

-X atype
Disables the atype type of authentication.

-a Attemptautomatic login. This is now the default, so this option
is ignored. Currently, this sends the user name via the USER
variable of the ENVIRON option if supported by the remote system.
The name used is that of the current user as returned by
getlogin(2) if it agrees with the current user ID, otherwise it
is the name associatedwith the user ID.

-c Disables the reading of the user's .telnetrc file. (See the
toggle skiprc command on this man page.)

-d Sets the initial value of the debug toggle to TRUE.

-e escapechar
Sets the initial telnet escape character to escapechar. If
escapechar is omitted, then there will be no escape character.-f If Kerberos V5 authentication is being used, the -f option allows
the local credentials to be forwarded to the remote system.

-k realm
If Kerberos authentication is being used, the -k option requests
that telnet obtain tickets for the remote host in realm realm
instead of the remote host's realm, as determined bykrb_realmofhost(3).

-l user
When connecting to the remote system, if the remote system under-
stands the ENVIRON option, then user will be sent to the remote
system as the value for the variable USER. This option implies
the -a option. This option may also be used with the open com-

-n tracefileOpens tracefile for recording trace information. See the set
tracefile command below.

-r Specifies a user interface similar to rlogin(1). In this mode,
the escape character is set to the tilde (~) character, unless
modified by the -e option.

-s src_addr
Set the source IP address for the telnet connection to...
tracking img