Next we will introduce the client Escape Character of the Telnet client and the disconnection operation. The background of our operating system is Windows Server 2008 and Windows Vista. Now let's take a look at the specific operation process.
Change the Escape Character of the Telnet Client
Application to: Windows Server 2008, Windows Vista
You can use this process to change the key combination from Telnet session mode to Telnet command mode. this is different from the Esc key on the keyboard, but a user-defined key combination. by default, the Telnet Escape Character is Ctrl +].
Any user account can complete this process.
To change the Telnet Escape Character
If you want to change the key used to enter the command mode, first switch to the command mode by pressing the current Escape Character Ctrl +] by default.
At the Microsoft Telnet> prompt, type:
Set Escape character
Character can be any combination key expressed by ASCII code. This includes most Shift + and Ctrl + key combinations. Ctrl +] as the default. Press the actual combination key, rather than the description text.
After entering the command, check the output line to confirm that the computer has accepted your selection:
Escape Character: "Ctrl +]"
Other considerations
Make sure that the selected key combination is not the key that you will have to send to the Telnet host. For example, Shift + A may cause A problem because it cannot send uppercase A to the Telnet server.
Do not save the Telnet Escape Character Between Telnet client sessions. If you exit the Telnet client and restart it, it will be reset to the default Escape Character Ctrl +].
Disconnect from the Telnet server
Application to: Windows Server 2008, Windows Vista
After you have completed all the work that needs to be done on the Telnet server, disconnect the session.
Any user account can complete this process.
Disconnect from the Telnet server
You can use either of the following methods to perform this process:
Disconnect a Telnet session
Disconnect a session from the Telnet server
Steps:
In the Telnet session, close all programs currently running.
At the Microsoft Telnet> command prompt, type the following command:
Exit
After the message "lost connection to the host" is displayed, the Telnet Client Service stops.
Other considerations
Commands used to log out of the Telnet server vary depending on the operating system and the Telnet server software running on the Telnet server. The commands shown here are applicable to the Telnet Server Service provided with Windows.
To disconnect a session from the Telnet server
In Microsoft Telnet> command prompt, type c to close), and then press Enter.
In this case, you can perform one of the following operations:
To disable the Telnet client service, type q to exit, and then press Enter.
Other considerations
Disconnection from the Telnet server may cause data loss if you do not close a running program and do not save the document. run this process only after the data is saved and the program is closed, or when the server stops responding and the program cannot be closed.