How to give Plesk users SSH access?

Created:

2016-11-16 12:47:17 UTC

Modified:

2017-05-25 13:48:35 UTC

6

Was this article helpful?


Have more questions?

Submit a request

How to give Plesk users SSH access?

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk for Linux
  • Plesk 12.0 for Linux

Question

How to give SSH access to Plesk users?

Answer

First of all make sure the SSHTerm - SSH Terminal java applet is installed via Plesk autoinstaller under Additional Plesk extensions menu:

# plesk installer

There is some difference for Service Provider view and Power User view .

If Power User view is used, the following steps should be done:

  1. Open Plesk > Websites and Domains > Web Hosting Access > Access to the server over SSH

    SSH Access

  2. Click OK button to apply changes

For the Service Provider view :

  1. Open Plesk > Domains > example.com > Web Hosting Access > Access to the server over SSH

    alttext

  2. Click OK button to apply changes

Note: The non-selectable ' Forbidden ' value (see screenshot below) means that the ' Management of access to the server over SSH ' permission is set to ' Not allowed ' in the subscription and/or service plan settings by service provider.

alttext

To provide SSH access to all Plesk users of subscriptions with the same service plan:

  1. Set environment in the ' Home > Service Plans > Service_Plan_Example > Hosting Parameters > SSH access to the server shell under the subscription's system user ' dropdown list;

  2. Click Update & Sync button to apply changes and synchronize subscriptions with service plan.

To ensure that the SSH access is provided to the ' username ' user do the following:

# grep 'username' /etc/passwd
username:x:10001:1003::/var/www/vhosts/example.com:/usr/local/psa/bin/chrootsh

In the example above, the last value ( /usr/local/psa/bin/chrootsh ) corresponds to chrooted access.

Have more questions? Submit a request
Please sign in to leave a comment.