Detailed description of Telnet service settings (1)

Source: Internet
Author: User

For the Telnet service, this convenient protocol allows us to remotely log on and manipulate hosts and other programs. Then we usually look for methods to enable this protocol service early on different devices. Next, we will introduce the startup instructions in Linux.

1. Install the telnet package (usually two)

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

2. telnet-server. This package provides telnet server programs;

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

 
 
  1. [Root @ wljs root] # rpm? Cq telnet or [root @ wljs root] # rpm? Cq telnet-client
  2. [Root @ wljs root] # rpm? Cq telnet-server

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

1. Get the telnet-server-0.17-25.i386.rpm package from the installation disk of red hat linux 9.

2. install the software package

 
 
  1. [root@wljs root]#rpm ?Ci telnet-server-0.17-25.i386.rpm 

Ii. Start the telnet Service

1. Start the service

Method 1: Use ntsysv to add * Before telnet in the displayed window, and then press OK.

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

 
 
  1. [root@wljs root]# vi /etc/xinetd.d/telnet 

Find disable = yes and change yes to no.

2. Activate the service

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

Iii. Test services

 
 
  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.

4. Set the telnet service port

 
 
  1. #vi /etc/services 


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.