• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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