SFTP is not available for additional FTP users

Created:

2016-11-16 12:46:58 UTC

Modified:

2017-04-24 11:04:48 UTC

5

Was this article helpful?


Have more questions?

Submit a request

SFTP is not available for additional FTP users

Applicable to:

  • Plesk for Linux
  • Plesk

Information

In Plesk it is possible to create additional FTP users for a domain.

However, SSH File Transfer Protocol(SFTP) access is supported only for the main FTP users on the webspace.

To allow SSH File Transfer Protocol(SFTP) access for additional FTP user, /bin/bash (chrooted) access should be enabled. Since there is no way to enable chrooted access for additional FTP users, SFTP is not available for these accounts.

Feature request to make an access to the server over SSH for additional ftp users was created.

FTP over SSL(FTPS) can be enabled in order to use secure connection to transfer data. This feature was implemented for both Linux and Windows systems since Plesk 11.5. You can read more in our documentation .

Addional information

To workaround mentioned behavior you can modify the /etc/passwd file manually: change the shell for required user to /usr/libexec/openssh/sftp-server .

Please be advised that such configuration was not officially tested, therefore any issues related to such configuration will not be supported.

Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Tim Peeters

    This method seems to work with Plesk 12.x on CentOS 6.5, but not anymore with Onyx on CentOS 7. The user can still logon but is not chrooted, it has acces to the whole vhost!

  • 0
    Avatar
    Artyom Baranov

    Hello Tim,

    Changing the shell for an additional user to `/usr/libexec/openssh/sftp-server` only grants him the permission to connect over SFTP.

    That does not enable chrooted access and is not officially recommended.

Please sign in to leave a comment.