Report this

What is the reason for this report?

ProFTPd Configuration & Login via FTP (failed)!

Posted on July 10, 2014

Hi,

I have deployed Ubuntu 14.04 droplet and installed ProFTPd. I followed this guide and tried logging in with my credentials. All seems to go well till FileZilla says: 227 Entering Passive Mode (IP address) … MLSD …: Then the connection times out. Tried to login a few times but cant get-in. Seems like I’m missing some configuration but don’t know what!

Can anyone help?

– Regards Saurabh.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It looks like there’s a firewall blocking Passive connections. Try using Active mode instead, does that work? Are you using UFW or just plain IPTables?

Hi Kamal,

Yes I was using UFW and trying to login through FileZilla. I don’t know how to us active mode :( Although I had UFW installed but allowed FTP Port. (ufw allow 21/tcp)

Now I tried fresh install without installing UFW but even now it is not working. However, now the error has changed to “530 Login Incorrect”. I’m using correct password. I included my user into proftpd.conf and the group as well. But not working!

– Regards Saurabh

Hi Kamal

I checked the log and it seems no shell was defined for the ftpuser. I tried adding the user to /bin/bash (I’m not sure if this is the correct entry) but even now I’m not able to login.

As there is no Firewall installed to there is nothing to allow. I tried active mode but couldn’t succeed. After adding shell (bash) I could go till “200 MLSD” where it times out.

What next is to be checked? Should I post my proftpd conf file here?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.