[Help] ubuntu12.04pure-ftpdTLS connection failure

Source: Internet
Author: User
Tags ftp connection ftp login
[Help] ubuntu12.04pure-ftpdTLS connection failure-Linux Enterprise Application-Linux server application information. The following is a detailed description. Sudo apt-get install pure-ftpd

The TLS settings are as follows:
# Implement TLS Certificate settings
Sudo openssl req-x509-nodes-newkey rsa: 1024-keyout/etc/ssl/private/pure-ftpd.pem-out/etc/ssl/private/pure-ftpd.pem
# The parameter is 1 implicit TLS and supports both encrypted and non-encrypted connections. Parameter 2 is the explicit TLS
Sudo echo '1'>/etc/pure-ftpd/conf/TLS

Ftp client error:
Status: Connecting 192.168.2.6: 990...
Status: Connection attempt failed "ECONNREFUSED-Connection refused by server ".
You can log on to a normal FTP connection.

Other settings:
# Solve the problem of using the FTP service for a local account
Echo "yes">/etc/pure-ftpd/conf/DontResolve
# Users whose group ID is 1000 are not restricted by their home directories. Other users are restricted by their home directories. (Check vim/etc/group and find that GID = 1000 is the user hr)
Echo "no">/etc/pure-ftpd/conf/ChrootEveryone
Echo "1000">/etc/pure-ftpd/conf/TrustedGID
# If the host name is not interpreted, selecting "yes" can greatly speed up ftp login.
Echo "yes">/etc/pure-ftpd/conf/DontResolve
# Maximum number of connections per IP Address
Echo "10">/etc/pure-ftpd/conf/MaxClientsPerIP
# Compatible with non-formal ftp clients such as ie
Echo "no">/etc/pure-ftpd/conf/BrokenClientsCompatibility
# Maximum bandwidth of all users (kb/s), including anonymous users.
Echo "800">/etc/pure-ftpd/conf/UserBandwidth
Related Article

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.