Install Telnet under Linux

Source: Internet
Author: User

The following error occurs when Telnet is not installed in the Linux environment:

[[Email protected] ~]# Telnet 129.223.248.159
Bash:telnet:command not found ...


The solution requires the installation of the Telnet service, which uses Yum install, and can refer to RedHat 7 using the Centos7 yum source


Yum list telnet* List installation packages

Yum Install Telnet-server Installation Server

Yum Install telnet.* installation client


[[Email protected] ~]# Telnet 129.223.248.159 12000
Bash:telnet:command not found ...
[Email protected] ~]#Yum List telnet*
Loaded Plugins:fastestmirror, Product-id, Subscription-manager

Loading mirror speeds from cached hostfile
Available Packages
telnet.x86_64 1:0.17-59.EL7 Base
telnet-server.x86_64 1:0.17-59.EL7 Base
[Email protected] ~]#Yum Install Telnet-server
Loaded Plugins:fastestmirror, Product-id, Subscription-manager

Loading mirror speeds from cached hostfile
Resolving Dependencies
--Running Transaction check
---> Package telnet-server.x86_64 1:0.17-59.el7 'll be installed
--Finished Dependency Resolution

Dependencies resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
Telnet-server x86_64 1:0.17-59.el7 Base K

Transaction Summary
================================================================================
Install 1 Package

Total download size:40 k
installed size:55 K
are this OK [y/d/n]: y
Downloading packages:
telnet-server-0. 17-59.el7.x86_64.rpm                        |  kb   00:01    
Running Transaction Check
Running transaction test
Transaction test succeeded
Running transaction
  installing:1:telnet-server-0.17-59.el7.x86_64                            1/1
  verifying : 1:telnet-server-0.17-59.el7.x86_64                            1/1

Installed:
Telnet-server.x86_64 1:0.17-59.EL7

complete!
[Email protected] ~]# yum install telnet.*
Loaded Plugins:fastestmirror, Product-id, Subscription-manager

Loading mirror speeds from cached hostfile
Resolving Dependencies
--Running Transaction check
---> Package telnet.x86_64 1:0.17-59.el7 'll be installed
--Finished Dependency Resolution

Dependencies resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
Telnet x86_64 1:0.17-59.el7 base + k

Transaction Summary
================================================================================
Install 1 Package

Total download size:63 k
installed size:113 K
are this OK [y/d/n]: y
Downloading packages:
telnet-0.17-59. el7.x86_64.rpm                               |  kb   00:01     
Running Transaction Check
Running transaction test
Transaction test succeeded
Running Transaction
  installing:1:telnet-0.17-59.el7.x86_64                                    1/1
  verifying : 1:telnet-0.17-59.el7.x86_64                                    1/1

Installed:
Telnet.x86_64 1:0.17-59.EL7

complete!
[[Email protected] ~]# Telnet 129.223.248.159 12000
Trying 129.223.248.159 ...
Connected to 129.223.248.159.


This article is from the "Software Design and Development" blog, please be sure to keep this source http://yuanzhitang.blog.51cto.com/2769219/1846902

Install Telnet under Linux

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.