Telnet server configuration in Linux

Source: Internet
Author: User
Tags telnet program
Article Title: configure the Telnet server in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

The telnet protocol is a member of the TCP/IP protocol family and is the standard protocol and main method of the Internet remote login service. It provides users with the ability to complete remote host work on local computers. Use the telnet program on the terminal user's computer to connect to the server.

  1. Check whether the rpm package of telnet-server is installed

OS: RedHat9

[Root @ locahost ~] # Rpm-qa telnet-server

// For security considerations, the telnet-server.rpm is not installed by default, and the telnet client is standard. That is, the following software is installed by default. To facilitate the test, check it //

 [Root @ locahost ~] # Rpm-qa telnet

Telnet-0.17-25

If not, install telnet-server

There is a telnet-server-0.17-25.i386.rpm on the 3rd disks, go to the Server directory to execute

[Root @ locahost ~] # Rpm-ivh telnet-server *. i386.rpm

2. Restart the xinetd daemon

Because the telnet service is also protected by xinetd, after the telnet-server is installed, the xinetd must be restarted to start the telnet service.

[Root @ locahost ~] # Service xinetd restart

  Iii. Test

Let's first check whether TCP port 23 is enabled normally.

[Root @ locahost ~] # Netstat-tnl | grep 23

Tcp 0 0 0.0.0.0: 23 0.0.0.0: * LISTEN

If the preceding row exists, the service is running.

At this time, we can further confirm the Local Machine

[Root @ locahost ~] # Telnet localhost 23

Trying telnet 127.0.0.1...

Connected to localhost. localdomain (127.0.0.1 )..

Escape character is '^]'.

Red Hat Linux release 9 (Shrike)

Kernel 2.4.20-8 on an i686

Login:

If the netstat command does not return content, we have to continue with more in-depth configuration.

[1] [2] Next page

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.