Complete Telnet service configuration solution (1)

Source: Internet
Author: User

The Telnet protocol can help us complete the remote login process. We also have some knowledge about the concepts and basics of this part. We have also explained some of its commands and other issues. The following describes how to configure the Telnet service.

Telnet service configuration 1: Install the telnet software package (usually two ).

1. telnet-client (or telnet). This package provides the telnet client program.

2. It is the telnet-server software package. This is the real Telnet server software package.

Check whether these software packages are installed before installation. The method is as follows:

 
 
  1. [root@wljs root]#rpm –q telnet  
  2. [root@wljs root]#rpm –q telnet-client  
  3. [root@wljs root]#rpm –q telnet-server 

If no software package is detected, install it. By default, the client software package has been installed in red hat linux 9. Generally, you only need to install the telnet-server software package:

1. download the software package from my ftp.

In the virtual console, enter:

 
 
  1. [root@wljs root]#ftp 210.45.160.27  
  2. Name:ftp  
  3. Password:ftp  
  4. ftp>cd linux  
  5. ftp>ls  
  6. ftp>get telnet-0.17-25.i386.rpm  
  7. ftp>get telnet-server-0.17-25.i386.rpm  
  8. ftp>bye 

2. install the software package

 
 
  1. #rpm –i telnet-0.17-25.i386.rpm  
  2. #rpm –i telnet-server-0.17-25.i386.rpm 

Telnet service configuration 2: Start the telnet Service

1. Start the service

Method 1: Use ntsysv. In the displayed window, select telnet and press OK.

Method 2: edit/etc/xinetd. d/telnet

 
 
  1. #vi /etc/xinetd.d/telnet  
  2.  
  3. [root@test root]# vi /etc/xinetd.d/telnet 

If you find disable = yes <=, you just need to change "yes" to "no! The service is disabled by default.

2. Activate the service

Telnet is stored under xinetd. Therefore, as long as xinetd is re-activated, the settings in xinetd can be re-read. Therefore, the configured telnet can be activated.

 
 
  1. [root@wljs root]# service xinetd restart 

Telnet service configuration 3: Test Service

 
 
  1. [Root @ wljs root] # telnet ip (or hostname)

If the configuration is correct, the system prompts you to enter the user name and password of the remote machine.

Login:

Password:

Note: Only common users are allowed by default.


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.