Basic Summary-Telnet command

Source: Internet
Author: User

The Telnet command is an exclusive command for the Telnet service to perform some special remote logon operations. Let's take a look at this part.

Use Telnet

Application to: Windows Server 2008, Windows Vista

Using Telnet involves three basic steps:

Start the Telnet server program

Connect to the Telnet server and establish a session

Run the program in the Telnet session

Start the Telnet server program on the host

In Windows, the Telnet server (Tlntsvr.exe) runs as a service. you can manually start the service each time you allow Telnet to connect to the computer, or configure the service to automatically start every time you start the computer. the Telnet client cannot connect to the host unless the Telnet server service is running and listening for connection requests. for more information about configuring the Telnet Server Service, see manage Telnet servers.

Connect to the Telnet server from the Telnet Client

To create a Telnet connection between the Telnet client and the Telnet server, start the Telnet client service on the client. when running the Telnet client (Telnet.exe), you must specify the host to connect. you can also configure multiple optional connection settings and functions. for more information about how to use the Telnet client service on Windows, see manage the Telnet client.

When the Telnet client service is running, a connection request is sent to the Telnet server. if the Telnet server responds to the request, the Telnet client and the server negotiate the connection details, such as traffic control settings, window size, supported authentication types, and terminal types to be simulated. after the connection details are successfully negotiated and the logon creden are verified, the Telnet server creates a Telnet command prompt session.

In Windows, each Telnet command prompt session consists of two processes: TlntSess.exe and pai.exe.tlntsess.exe, which are responsible for managing telnetsession. cmd.exe is a command interpreter or interpreter program used to run commands, programs, or scripts on the host.

Remarks

Cmd.exe is the command interpreter used for Telnet command prompt sessions in Windows by default. however, you can configure the Telnet server service as any command interpreter or interpreter installed on the Telnet server by default. for more information about changing the command interpreter, see the command interpreter used to configure the Telnet server.

Run the program in the Telnet session

After establishing a connection between the Telnet client and the Telnet server, the following message is displayed in the Client Command Prompt window:

Welcome to Microsoft Telnet server.

The message indicates that you have established a session with the active Telnet server. you may need to enter the user name and password Based on the authentication method configured on the server. after authentication is completed, you can use this session to remotely run the command line program, interpreter command, and script on the Telnet server. the executable program depends on the permissions granted to the user account or the permissions granted to the user group to which the account belongs. if User Account Control is enabled on the computer, it affects programs that can be used during Telnet sessions.

The Telnet client and server depend on the Telnet virtual terminal (NVT) to convert the operating system-specific keyboard and display code into Telnet character codes that can be understood by all Telnet clients and servers.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.