Vous êtes sur la page 1sur 3

Telnet Client authentication

Updated: January 21, 2005


Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server
2003 with SP2

Telnet Client authentication


You can use your local Windows user name and password or domain account information to access a computer
running Telnet Server.
If you do not use the NTLM option for authentication, the user name and password are sent to the Telnet server as
plaintext.
If you use NTLM authentication, Telnet Client uses the Windows security context for authentication, and the user is
not prompted for a user name and password. The user name and password are encrypted.
Attempts to log on to the Telnet server using NTLM authentication will fail if the password option is set at User
Must Change Password at Next Log on. To log on successfully, you must log on to the server directly, change
your password, and then log on through Telnet Client.
If you connect to a Telnet server using NTLM authentication, you will not be able to access additional network
resources because of a limitation of the NTLM authentication. In order to access network resources from a Telnet
session, you need to access network drives by providing your user name and password again.

Telnet commands
Updated: January 21, 2005
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server
2003 with SP2

Telnet commands
The Telnet commands allow you to communicate with a remote computer that is using the Telnet protocol. You can
run Telnet without parameters in order to enter the Telnet context, indicated by the Telnet prompt ( Microsoft

Telnet>). From the Telnet prompt, use the Telnet commands to manage a computer running Telnet Client.
The Telnet Client command prompt accepts the following commands:

Command

Description

open

Use open hostname to establish a Telnet connection to a host.

close

Use the close command to close an existing Telnet connection.

display

Use the display command to view the current settings for Telnet Client.

send

Use the send command to send commands to the Telnet server. The following commands are
supported:
ao

Abort output command.


ayt
"Are you there?" command.
esc
Sends the current escape character.
ip
Interrupt process command.
synch
Performs the Telnet synch operation.
brk
Sends a break signal.
Anything other than one of the commands listed above will be sent as a string to the Telnet
server. For example, send abcd will send the string abcd to the Telnet server, which will echo
the string in the Telnet session window.
quit

Use the quit command to close Telnet Client.

set

Use the set command with one of the following arguments to configure Telnet Client for the
current session.
bsasdel
Backspace will be sent as delete.
codeset option
Available only when the language is set to Japanese. Set the current code set to option, which
can be one of the following:

Shift JIS

Japanese EUC

JIS Kanji

JIS Kanji (78)

DEC Kanji

NEC Kanji

The same code set should be set on the remote computer. By default, Telnet Client uses a raster
font. Before accessing a remote computer using one of these code sets, you must configure
Telnet Client to use a TrueType font to ensure that characters will display properly.

crlf
New-line mode; causes the RETURN key to send 0x0D, 0x0A.
delasbs
Delete will be sent as backspace.
escape character
Switches from Telnet session mode to the Telnet command mode. While in Telnet command
mode, press ENTER to return to Telnet session mode.
localecho
Turns on localecho.
logfile name
Specifies the name of the file to which the Telnet log is written for this session. If you do not
specify the path of the file, it is created in your current directory. Specifying a log file also turns
on logging.
logging
Turns on logging for this session.
mode {console | stream}
The mode of operation.
ntlm
Turns on NTLM authentication.
term {ansi | vt100 | vt52 | vtnt}
The type of terminal you want Telnet Client to emulate.
?
Displays Help information for set.
unset

Use unset to turn off an option previously set using the set command.

status

Use the status command to determine whether the computer running Telnet Client is
connected.

?/help

Displays Help information.

Vous aimerez peut-être aussi