Linux Learning seven-configure Telnet to connect to a Linux server

Source: Internet
Author: User

Configure Telnet to connect to a Linux server

Telnet allows access to a Linux server from the Windows platform, with the same effect as an SSH client, except that it is more secure with SSH connections.

    1. Check if the Telnet service is installed on the Linux system Rpm-qa|grep telnet, return empty, indicate no installation, need to install Telnet Server from the Yum source, and view the Telnet service-side package name in the Yum cache list

    1. Perform installation commands to install Yum install tenet-server.x86_64–y wait for installation to complete

    1. Modify the configuration file for Telnet vim/etc/xinetd.d/telnet

Change Disable=yes to Disable=no

    1. Restart the Telnet service xinetd restart
    2. If the system is not optimized, you need to add the open Telnet Service 23 port rule in the firewall vim/etc/sysconfig/iptables

Restart Firewall service iptables restart or/etc/init.d/iptables restart

    1. Remove the/etc/securetty profile (this profile specifies that the root user can only log on to the appropriate TTY terminal and that the root user can be remotely logged on after removal) Mv/etc/securetty/etc/securetty.bak for the sake of insurance, Move files to backup, not directly deleted
    2. Install the Telnet service configured for Windows, go to Control Panel---Programs and features, click Enable or disable Windows features, locate Telnet and tick OK to install

    1. Open windows command line cmd, type the Telnet+linux server IP address, wait for the connection to enter the user name password to log in, log in successfully, enter the terminal interface

At this point, configure Telnet to log on to the Linux server side successfully

Original articles, reproduced please be sure to indicate the source

Linux Learning seven-configure Telnet to connect to a Linux server

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.