How to use the Telnet protocol to connect to a Linux server on a Windows system

Source: Internet
Author: User

The Telnet protocol is the standard protocol for the Internet remote Login service, which provides users with the ability to perform remote host work on the local computer. Many end users are accustomed to using a Telnet session on a computer to remotely control the server. Here are two steps to show you how to use the Telnet protocol on a Windows system to connect to a Linux server.

Step one: Turn on the Telnet function on the Windows system;

Step two: Enable the Telnet service on the Linux system.

Step one: Windows terminal to turn on Telnet function

1/The Telnet feature is not available by default due to the version after Windows Vista. You must turn on this feature if you need to use Telnet. In Windows 7, for example, first open Control Panel.

2/Then open programs and features in Control Panel.

3/then click "Turn Windows features on or off" in the upper left corner.

4/In the "Turn Windows features on or off" dialog box, check "Telnet Client", click OK, the system will be installed automatically. The work to this Windows endpoint has been completed.

Step two: Linux server turn on Telnet service

1. Many Linux systems do not install the Telnet service by default, and must be installed if necessary to use the service. There are many ways to install it, the small part here only describes the Yum installation Telnet service, it has the advantage of being able to automatically check the installation package of dependent files without human intervention, of course, if the system must be networked. Install the Telnet service by entering the "Yum install-y telnet-server" command at the prompt. Finally, complete appears, representing the installation.

2. Use the command "Vi/etc/xinetd.d/telnet" to edit the Telnet configuration file and change the disable value to No.

3. Restart the XINETD service to enable the Telnet configuration to take effect.

4. On the Linux server, open the 23 port of the Telnet protocol. Use the command "Vi/etc/sysconfig/iptables" to add the code inside the red box and save it.

5. Restart the iptables to make the firewall policy effective.

6, on Windows, with the "Telnet IP Address" command, and then enter the user name and password, you can complete the remote login of the Linux server.

How to use the Telnet protocol to connect to a Linux server on a Windows system

Related Article

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.