How to Enable Root Access on Your VPS Server Using Plesk | Heart Internet Blog – Focusing on all aspects of the web

If you get one of the following messages from the Plesk migrator you should check that you are using root as the username along with the Plesk admin password.

  • “The source server does not appear to be a Plesk server”
  • “Plesk Migrator tool requires original ‘root’ user access or root user with GUI/UID = 0.”
  • “Failed to check SSH connection to the source server ‘source’ (203.0.112.0): Unable to connect to ‘203.0.112.0’ by SSH: Authentication failed.”

If you are still getting the same error, you may have to enable root SSH access.

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.
    Image showing tools and resources menu
  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 if you’re using CentOS or AlmaLinux:

systemctl restart sshd

If your server uses Ubuntu type the following instead:

systemctl restart ssh

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.

Comments

Please remember that all comments are moderated and any links you paste in your comment will remain as plain text. If your comment looks like spam it will be deleted. We're looking forward to answering your questions and hearing your comments and opinions!

Got a question? Explore our Support Database. Start a live chat*.
Or log in to raise a ticket for support.
*Please note: you will need to accept cookies to see and use our live chat service