The complete set of telnet commands

  

Everyone knows that the Telnet protocol is a member of the TCP/IP protocol suite and is the standard protocol and main method for Internet remote login services. It provides users with the ability to do remote host work on a local computer. Use the telnet program on the end user's
computer
and use it to connect to the server. End users can enter commands in the telnet program, which will run on the server as if they were entered directly on the server's console. The server can be controlled locally. To start a telnet session, you must enter your username and password to log in to the server. Telnet is a common method of remotely controlling a web server.

How to Use Telnet Commands

The Telnet command allows you to communicate with remote computers that use the Telnet protocol. You can run Telnet without parameters to enter the Telnet context as indicated by the Telnet prompt (Microsoft Telnet>). From the Telnet prompt, use the Telnet command to manage the computer running the Telnet client.

The Telnet client command prompt accepts the following command:

open : Use openhostname to establish a Telnet connection to the host.

close : Use the close command to close an existing Telnet connection.

display : Use the display command to view the current settings of the Telnet client.

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

ao : Abandon the output command.

ayt : “Are you there”

esc : Send the current escape character.

ip : Interrupt process command.

synch : Perform Telnet synchronization.

brk : Send a signal.

Commands other than those listed in the above table will be sent to the Telnet server as a string. For example, sendabcd will send the string abcd to the Telnet server so that the string will appear in the Telnet session window.

quit

Use the quit command to quit the Telnet client.

set

Configure the Telnet client for the current session using the set command with one of the following parameters.

bsasdel

Backspace will be sent as a delete.

codeset option

is only available when the language is set to Japanese. Set the current code set as an option, which can be one of the following options:

? 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, the Telnet client uses raster fonts. Before using these code sets to access remote computers, you must configure the Telnet client to use TrueType fonts to ensure that characters are displayed correctly.

crlf

New Line Mode: Causes the Return key to send 0x0D, 0x0A.

delasbs

Delete will be sent as a backspace key.

escapecharacter

Transition from Telnet session mode to Telnet command mode. When in Telnet command mode, pressing Enter will return to Telnet session mode.

localecho

Open localecho.

logfilename

Specifies the name of the file to which the Telnet log will be written for this session. If you do not specify a path to the file, the file will be created in the current directory. Specifying a log file also starts logging.

logging

Start the log for this session.

mode {console |  Stream}

The mode of operation.

ntlm

Start NTLM authentication.

term {ansi |  Vt100 |  Vt52 |  Vtnt}

The type of terminal you want the Telnet Client to emulate.

?

Display help information for set.

unset

Use the unset command to turn off options previously set with the set command.

status

Use the status command to determine if the computer running the Telnet client has successfully connected.

Copyright © Windows knowledge All Rights Reserved