• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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