Plesk

Installation of Plesk via Plesk Web Installer fails: Could not connect to the target server. Process exited with status 1

Symptoms

Cause

SSH configuration of the server (source in case of the migration) not allow root login or/and Password authentification:

Resolution

  1. Connect to the server (to the source server in case of the migration) via SSH as root.

  2. Open the /etc/ssh/sshd_config file in any text editor.

  3. Find the PermitRootLogin or/and PasswordAuthentication directives and edit them as follows:

    [BEFORE]
    PermitRootLogin no
    PasswordAuthentication no

    [AFTER]
    PermitRootLogin yes
    PasswordAuthentication yes

  4. If the AllowUsers directive is present in the SSH configuration file:

    # cat /etc/ssh/sshd_config | grep 'AllowUsers'
    AllowUsers johndoe

    add the root user as well to the AllowUsers directive:

    [BEFORE]
    AllowUsers johndoe

    [AFTER]
    AllowUsers johndoe root

  5. Restart the SSH service to apply made changes:

    # service sshd restart

  6. Restart Plesk installation via Plesk Web Installer/Proceed with migration.

 

Exit mobile version