How to Enable Root Access on Your VPS Server Using Plesk


If you haven’t disabled root access via SSH, you can easily enable it using the terminal option within Plesk. This guide will walk you through the process step by step.

Step 1: Log in to Plesk

  1. Open your web browser and navigate to your Plesk login URL
    (e.g., https://yourvpsname.com:8443).
  2. Enter your username and password.

Step 2: Access the Web Terminal

  1. In the left-hand menu, click Tools & Settings (or Websites & Domains, depending on your Plesk version).
  2. Look for SSH Terminal or Web Terminal and click on it.
  3. A terminal window will open inside Plesk, allowing you to execute Linux commands.

Step 3: Modify the SSH Configuration

  1. In the terminal, run the following command to open the SSH configuration file:
    vim /etc/ssh/sshd_config
  2. Locate the line that contains PermitRootLogin.
  3. Change the value to yes. If there is a # symbol in front of it, remove the # to activate the line.

Step 4: Save the Changes

  1. Press the ESC key.
  2. Type :WQ and press Enter to save and exit.

Step 5: Restart the SSH Service

Run the following command to apply the changes:

systemctl restart sshd

Final Step: Verify and Proceed

Give it a few moments for the changes to take effect. Once enabled, you should be able to proceed with your migration successfully.

If you encounter any issues, try restarting your VPS and repeating the steps. For further assistance, please contact our support team via your Customer Area.


We will be happy to hear your thoughts

Leave a reply

Som2ny Network
Logo
Compare items
  • Total (0)
Compare
0