• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved How to set FTP with Passive mode, or SFTP

kojot

Regular Pleskian
Hi,

recently I turn on firewall on this server, and I was not able to connect to FTP with regular user.
I'm able to connect with root account to SFTP
But when I create FTP users for webspace, I can only use FTP protocol, only Active mode, and no encryption.

Of course, I searched documentation, and some tutorials before this post.

Firstly from this article I was open port 20 in firewall, and after that I was able to connect but with Active mode.

Also from this article I tried to enable Passive mode.
I created file /etc/proftpd.d/passive_ports.conf with
PassivePorts 49152 65000

I opened those ports in firewalls but no success.

At this moment I can only connect with Active mode and No encription.
Also if I check SSL/TLS explicit encryption, connection stuck on
Timeout detected. (data connection)
Could not retrieve directory listing
Error listing directory '/'.

Also my first question, is it possible to force all FTP accounts to use SFTP protocol?


I'm using Plesk Onyx on Centos 7.3
 
Hi, yes I mixed SFTP and FTPS.

FTPS is FTP with SSL/TLS encryption?

I have installed SSL for server, but I can log only if I check in ftp-client "No secure".
If I check SSL/TLS Explicit encryption

I got this like TLS connection is established, and client is connected, but after that I'm getting "error listing directory '/'

upload_2017-3-28_11-15-15.png

Timeout detected. (data connection)
Could not retrieve directory listing
Error listing directory '/'.

If I switch again to "no encryption" or "plain FTP" I'm able to connect
 
Hi Peter, I wrote already that I was set client for Active mode. And I created file /etc/proftpd.d/passive_ports.conf with
PassivePorts 49152 65000.
Also I opened those ports in hosting firewall, and disabled Plesk's firewall.

Also I noticed if I'm using
- Active mode + No Encryption - I'm able to log in
- Active mode + SSL Explicit Encryption - I got Error listing directory '/'.

I'm trying with WinSCP and FileZilla.


edit:
I noticed that .conf file I just added
PassivePorts 57000 59000, did not added it in global tags. I will try now
 
Back
Top