FTP not working (only sFTP)

2 posts / 0 new
Last post
#1 Thu, 02/22/2018 - 04:13

FTP not working (only sFTP)

Hello, I can only connect via sFTP to my server. That was not a problem until now because I need to give access to FTP to someone (for support).

I created a new user for FTP only but when I connect via FTP i get this:

Error: Failed to retrieve directory listing.

I already tried this https://www.virtualmin.com/documentation/web/faq#FTP_Service_isn-t_working

By they way, I have Ubuntu Linux 16.04.1 and Virtualmin 6.02. And proftpd-basic 1.3.5a-1build1

Thank you.

Tue, 03/06/2018 - 05:47
unborn's picture

hi Psycox, I would open passive ports.. (at least this was working on my proftpd - but I would stick to ssh aka sftp. Its much more secure. You can read some info about it here: Why SFTP is more secure than FTP ) To understand active vs. passive FTP: read some info on this link

....something like: PassivePorts 49152 65534

Dont forget to open that port range on your router/switch/fw.

Configuring/troubleshooting Debian servers is always great fun

Topic locked