Enable FTP Telnet in Linux

Source: Internet
Author: User
Tags ftp connection

1.1 Log On As the root user and enter the terminal command mode;

1.2 enable the FTP service.

CD/etc/xinetd. D. Edit the configuration file gssftp for the FTP service:

Enable FTP service settings.

VI gssftp will modify two items:

(1) Remove server_args =-l-A and Change-A to server_args =-L.

(2) Change disable = yes to disable = No

(3) Save and exit.

1.3 enable the Telnet Service

CD/etc/xinetd. D, check the settings of the Telnet service configuration file krb5-telnet:

Enable Telnet service settings

VI krb5-telnet,

(1) Change disable = yes to disable = No. Save and exit.

1.4 activate the service:

Telnet/FTP is stored under xinetd. Therefore, as long as xinetd is re-activated, the settings in Xinetd can be re-read. Therefore, the configured Telnet/FTP can be activated.

Activate the Directory and command:

CD/etc/rc. d/init. d/

Service xinetd restart

Sometimes the system prompts that the command does not exist and the command path needs to be added.

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

Bash: Service: Command not found

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

Restart FTP and Telnet service vsftpd start

Note: If the host is configured with DNS, it does not know why FTP connection is slow. After the host is connected, it will be normal. If DNS is removed, it does not seem like this problem.

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.