Install and configure the telnet service in Linux

Source: Internet
Author: User

LinuxLowerTelnetService installation and configuration

 

Install the Telnet Service

Step 1: first, load the content of the optical drive and view the image


 

Step 2: Run Mount/dev/CDROM/mnt/CDROM to load the content of the optical drive to/mnt/CDROM,

Then run the command CD/mnt/CDROM to enter the directory, and run the LS command to finally view the file (because there are many files, the last command is ls | more for split screen display );

 

Step 3: Use the command CP + file name + target path, such as the operation, to move to the specified directory, and run the LS command to view it, (Remember to use the command umoungt/mnt/CDROM to stop the connection to the optical drive ),

Run the command-rpm-IVH + package name to install the file. (Run the command rpm-Qa | grep telnet to view the installed content .)

 

In this way, the Telenet service is installed in Linux.

 

 

 

 

 

 

 

Telnet service configuration

Step 1: run the command CD/etc/xinetd. d To Go To The xinnetd. d directory and run the command ls to view Telnet,

Then run VI telnet to enter the editing status and edit Telnet;

Step 2: Change the disable value to no (originally yes)

Step 3: In the same way, CD/TEC/PAM. D comes to the Pam. d directory, and the vi login command is used to edit the login file;

Step 4: The edited content here is shown in. Add # in the front and run the command: WQ to save and exit the file.

(By default, root does not enable other systems to connect to Linux Through Telnet. The comment here is used to allow the root account to implement Telnet)

Step 5: run the/etc/rc. d/init. d/xinetd restart command to restart the telnet service;

Step 6: go to other systems and use XP in this instance. Start-run the command. Enter cmd and press Enter,

 

Step 7: Use the command Telnet + linuxip address, as shown in figure

Step 7: connect to Linux remotely and enter the account and password to log on! For example.

In this way, telnet is successfully applied.

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.