Articles in this section

What is the difference between options 'Access to the server over SSH' parameter in Plesk?

kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux

Question

What is the difference between options 'Access to the server over SSH' parameter in Plesk?

Answer

Plesk allows to configure different option for Access to the server over SSH for each website in Plesk > Domains > example.com > Web Hosting Access:

chroot.png

Note: neither of the options below affects remote access over FTP

  • Forbidden - no remote access
  • /bin/sh - /bin/sh (which is another name of /bin/bash in the majority of Linux distributions) will be used to execute commands in a remote session. The user will obtain all access as an ordinary user, including access to /bin, /user etc., as well as to run any application.
  • /bin/bash - Bourne-again shell (/bin/bash) will be used in the remote session to execute commands.  Same restrictions as for /bin/sh access
  • /bin/tcsh - Enriched C shell (/bin/tcsh) will be used to execute commands in remote session. Same restrictions as for /bin/sh access
  • /bin/csh C shell (/bin/csh) will be used to execute commands in remote session. Same restrictions as for /bin/sh access
  • /bin/bash (chrooted) -- /bin/bash will be used to execute commands in chrooted environment. A user will be able to get access to files within its own subscription only.  Any applications that are run from within the chroot will be unable to see the rest of the operating system in principle. By default, only basic commands like less, tar, zip are allowed in the chrooted environment. The list can be extended by following this article
  • /bin/rbash - Restricted Bourne-again shell will be used to execute commands in a remote session.  A restricted shell behaves identically to bash with the exception listed here
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.