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

How to open ftp/telnet service on linux platform

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains "how to open ftp/telnet service on linux platform". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to open ftp/telnet services on the linux platform.

After installing Redhat, you need to set up the Ftp and Telnet service files to start the Ftp and Telnet services, which can be opened by remote control.

1.1.Log in with root user and enter terminal command mode

1.2Open the ftp service.

Cd / etc/xinetd.d, edit the settings for the ftp service profile gssftp:

Figure 1 enables ftp service settings.

Vi gssftp, two things will be modified:

(1) server_args =-l-a get rid of-an and change to server_args =-l

(2) change disable=yes to disable=no

(3) Save and exit.

1.3.activate the telnet service

Cd / etc/xinetd.d, check the settings of krb5-telnet in the configuration file of the telnet service:

Figure 2 enable telnet service settings

Vi krb5-telnet

(1) change disable=yes to disable=no, and save and exit.

1.4. Activate the service:

Telnet / ftp is hung under the xinetd, so naturally you can re-read the settings in the xinetd as long as you re-activate xinetd, so the telnet / ftp that you just set can be activated.

Activate directories and commands:

Cd / etc/rc.d/init.d/

Service xinetd restart

Sometimes it is prompted that the command does not exist and the path of the command needs to be added.

[root@localhost init.d] # service xinetd resart

Bash: service: command not found

[root@localhost init.d] # / sbin/service xinetd restart

Figure 3 restart the FTP and Telnet services

1.5 connect to FTP

Figure 4 connecting the FTP

Note: if the host has set up DNS, I don't know why the FTP connection is a bit slow, and it will be normal when it is connected. If you remove the DNS, you don't seem to have this problem.

At this point, I believe you have a deeper understanding of "how to open ftp/telnet services on the linux platform". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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