• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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