SFTP is not available for additional FTP users


2016-11-16 12:46:58 UTC


2017-08-23 13:45:35 UTC


Was this article helpful?

Have more questions?

Submit a request

SFTP is not available for additional FTP users

Applicable to:

  • Plesk for Linux


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. When trying to connect under a sub-user, the following error may appear:

unexpected end of file

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.

Additional information

To workaround this, modify the /etc/passwd file manually: change the shell for required user to:

For Redhat-based systems:


For Debian-based systems:


Warning: Such configuration was not officially tested, therefore any issues related to such configuration will not be supported.


Have more questions? Submit a request


  • 0
    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
    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.