Installing and Configuring ProFTPD Server in Ubuntu/Debian

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Hanny Helal

A Linux & Foss user since 2010, working on many projects in the field of Free Software.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

9 Responses

  1. Priynkara says:

    Command: PASS *******
    Response: 530 Login incorrect.
    Error: Critical error: Could not connect to server
    Status: Disconnected from server
    Status: Connecting to 162.243.205.246:21…
    Status: Connection established, waiting for welcome message…
    Status: Insecure server, it does not support FTP over TLS.
    Command: USER sankapr
    Response: 331 Password required for sankapr
    Command: PASS *******
    Response: 530 Login incorrect.
    Error: Critical error: Could not connect to server

    I set all the setting correctly. But This error occurred. Pls anyone tell me the solution for this

    • Ravi Saive says:

      @Priynkara,

      Have you restarted vsftpd after making configuration? if not do:

      $ sudo /etc/init.d/vsftpd
      

      If you still gets the same error, another important thing to verify that the user shell present in /etc/shells? Could you share your vsftpd configuration here?

  2. I confgure on ubunu 14 runing on aws servers I get this:
    Status: Resolving address of ec2-54-213-162-181.us-west-2.compute.amazonaws.com
    Status: Connecting to 54.213.162.181:21…
    Status: Connection established, waiting for welcome message…
    Response: 220 ProFTPD 1.3.5rc3 Server (ec2-54-213-162-181.us-west-2.compute.amazonaws.com) [172.31.25.20]
    Command: USER userftp
    Response: 331 Password required for userftp
    Command: PASS ********
    Response: 230 User userftp logged in
    Command: OPTS UTF8 ON
    Response: 200 UTF8 set to on
    Status: Connected
    Status: Retrieving directory listing…
    Command: PWD
    Response: 257 “/var/www” is the current directory
    Command: TYPE I
    Response: 200 Type set to I
    Command: PASV
    Error: Connection timed out
    Error: Failed to retrieve directory listing

    • Ravi Saive says:

      @Rami,

      Try to add these following lines to vsftpd.conf file.

      pasv_enable=YES
      pasv_min_port=10000
      pasv_max_port=10000
      

      will solve your problem…

  3. finck says:

    you said to put it ON instead of OFF in your example (please change my comment)

  4. finck says:

    hi, for RequireValidShell, you said to put ON instead on OFF in your example :

    RequireValidShell: Uncomment this line and make it “On” to enable logging in for users, even for those who doesn’t have a valid shell in /etc/shells to log in.

    to enable logging without shell, you have to put on Off, not on On

  5. Olek says:

    Hi,
    Thaks a lot for super tutorial !!!

  6. Ricardo says:

    Hi,
    RequireValidShell shoud be “no” for this tutorial to work :)

    Thanks a lot

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?