• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Shell Access Options

ShaneG

New Pleskian
What does "Shell access to server with FTP user's credentials" do?

I'm on the "Web hosting setup for domain [domain name]" page. I got here by clicking Home > Domains > [domain name] > Web Hosting Settings.

The "Account Preferences" section has the "Shell access to server with FTP user's credentials" option. The available options are:

Forbidden
/bin/csh
/bin/sh
/usr/bin/tcsh
/bin/tcsh
/bin/bash
/bin/rbash
/usr/bin/screen
/bin/dash
/bin/bash (chrooted)

What do these options mean?

Thanks,
Shane.
 

Attachments

  • shell.png
    shell.png
    69.3 KB · Views: 7
This will allow the FTP user to login via SSH, and enables the SSH Terminal within Plesk. I suggest you choose /bin/bash
 
But what does it all mean?

I have searched far and wide but every answer I can find avoids the question:

What do the different options mean?

For example, /bin/bash (chrooted) does not enable access to anything useful, not mysql, not tar, not wget.

On the other hand, /bin/sh enables access to mysql and tar but not wget. You are also able to navigate the entire /var/www/vhosts/ tree, which is not ideal.

Does anybody know?
 
Honestly I would not allow any of your users to have any kind of shell access ever under any condition. It is really asking for problems.
 
Back
Top