Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solutions that cannot be used by telnet in linux

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Yum installation mode processing

1. Check the linux version

Cat / etc/issue

2. Check whether telnet has been installed

Rpm-qa | grep telnet

The above shows that you don't need to install it if you have already installed it. If not, move on to the next step.

3. Install telnet and telnet-server

Note: root permission is required to install

Yum install telnetyum install telnet-server

4. After installing the telnet service, the service is not enabled by default, so we need to modify the file to enable the service.

Vi / etc/xinetd.d/telnet

Change disable = yes to disable = no

: wq!

5. Xinetd service needs to be activated

Service xinetd restart

6. You need to test whether telnet is enabled successfully.

Telnet localhost

If the previous operation is all right, enter the user name and password to log in successfully.

7. When you use remote telnet on other machines, if it is not successful, then it is likely to be the problem of the firewall. Let's modify the firewall settings.

First, use netstat-tunlp to see if port 23 is blocked by the firewall

Then use iptables to modify settings

Use service iptables save to save settings

Then service iptables restart restarts the firewall.

These are the details that cannot be used by telnet under linux. Please pay attention to other related articles for more.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report