Telnet is a remote login protocol and an interactive command. It is mainly used to determine whether the server service port is open. Different people have different views on Telnet. Telnet can be regarded as a communication protocol, but for staff, Telnet is just a remote login tool. Next, the editor will talk about the usage of telnet command.
Telnet is the standard protocol and main method of Internet remote login service. It provides users with the ability to complete remote host work on the local computer. However, some users find that the telnet command cannot be used when debugging the port. What is going on? Next, the editor will explain to you how to use the telnet command.
Usage of telnet command
First click the "Start" button in the lower left corner to open the "Start" menu, and open the "Control Panel" from it
Command Diagram-1
After entering the control panel, click "Programs" when "View by" is the category
telnet Figure-2
After opening the "Programs" page, click "Turn Windows on or off" under "Programs and Features" Function"
telnet Figure-3
After that, you will enter the "Windows Function" window and find it in the function list "Telnet Client" and check it, then click "OK" and wait for a while to turn on the Telnet function.
Remote command diagram-4
After following the above method to open the Telnet client function in the Windows function, Telnet commands can now be used in the command prompt.
How to use the Telnet command
The Telnet command allows you to communicate with a remote computer using the Telnet protocol. Telnet can be run without parameters to enter the Telnet context indicated by the Telnet prompt (Microsoft Telnet>). You can use Telnet commands from the Telnet prompt to manage computers running Telnet clients.
The Telnet client command prompt accepts the following commands:
open : Use openhostname to establish a Telnet connection to the host.
close : Use the command 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 output command.
ayt: "Are you there" command.
esc : Send the current escape character.
ip: Interrupt process command.
synch: Perform Telnet synchronization operation.
brk : Send signal.
The above is the usage of telnet command. Users in need can take a look.
The above is the detailed content of How to use the telnet command. The editor teaches you how to use the telnet command.. For more information, please follow other related articles on the PHP Chinese website!