• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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