• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

FTP/SFTP is not working for users in one specific domain, but SSH is

Fred1

New Pleskian
Hello,

I am experiencing a weird issue after a Plesk upgrade (from 11 to 12, installed on Ubuntu 12.04).

FTP/SFTP is not working for all users in one specific domain. When using the latest Filezilla client, I receive the following error when I try to connect in SFTP with the main user of this domain

Error: Received unexpected end-of-file from SFTP server
Error: Could not connect to server

When I try to connect in FTP with additional FTP users in this same domain, I get the following error:

Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing

SSH is working for the main user. I received the error "exit code 1" when trying to connect in sftp in Putty with this user.

FTP/SFTP is working fine with users in other domains.

Any ideas?
 
Update: New additional FTP users in other domain cannot connect in FTP or FTP over TLS. The main user of these other domain still can connect in SFTP. For these additional FTP users, I get the same error :

Response: 227 Entering Passive Mode (198,245,49,130,213,153).
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing

To summarize, after the update:

- Existing domain user accounts can connect to SFTP except one user from a specific domain
- When creating a new webspace (hence creating a new SFTP user), the main user can connect in SFTP
- All existing additional FTP (who cannot connect in SFTP) cannot connect in FTP or FTP over TLS
- When creating a new additional FTP user in any domain, the user cannot connect in FTP or FTP over TLS

I found this KB: http://kb.odin.com/en/119525, but the creation of the passive_ports.conf file did not help, addditional FTP users still cannot connet and I am not sure it is relevant for the main user SFTP issue.
 
Update: I tested a connection from another location, regular FTP users are working fine, it is an issue with my workplace firewall (port 21 open, but probably not the passive ports). I was also able to enable FTPS (FTP over TLS) for these users with the Passive Port conf (http://kb.odin.com/en/119525) and opening the passive ports range in the web server's Firewall.
But I still have one main webspace user who cannot connect in SFTP, for which SSH and FTPS (since the new conf) is working, so this will be my workaround!
 
Back
Top