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

    https://survey.webpros.com/

SFTP access without shell access

thewolf

Regular Pleskian
Hi,

We're running Plesk 8.1.1 on Red Hat Enterprise Linux 4.

Is there any way to grant SFTP access for a domain without shell access using the default Plesk installation?

Thanks.
 
I believe you can add /usr/libexec/openssh/sftp-server to /etc/shells and the set that as the shell for the user for SFTP only access.

You can also install scponly (Dag/RPMForge has rpms), make sure /usr/bin/scponly is in /etc/shells and set the shell for the domain to /usr/bin/scponly for SCP only access.
 
Originally posted by breun
I believe you can add /usr/libexec/openssh/sftp-server to /etc/shells and the set that as the shell for the user for SFTP only access.

You can also install scponly (Dag/RPMForge has rpms), make sure /usr/bin/scponly is in /etc/shells and set the shell for the domain to /usr/bin/scponly for SCP only access.

If you do so, will the new shells automatically appear in the Plesk shells dropdown?

Thanks.
 
Back
Top