• 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.

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