Symptoms
-
Unable to start migration with one of the following error messages:
Unable to login to the source server 'source' (203.0.113.2) by SSH service: administrator login and/or password are not correct.
Set valid SSH credentials for the server and click "Prepare migration".
SSH connection to the source server can not be used: there is unexpected output when executing commands.
-
Migration fails with one of the following error messages:
Cannot request remote agent status using command line
Failed to fetch basic information about resellers, clients and domains data from source servers. Cause: Command execution failed on the local server with non-zero exit code.
Cause
Plesk Migrator cannot log in to the source server using SSH key.
Resolution
-
Connect to the source server via SSH.
Note: if direct SSH access to the server is not possible, contact server administrator for further assistance.
-
Open the
/etc/ssh/sshd_config
file in a text editor. In this example, we are using the vi editor:# vi /etc/ssh/sshd_config
-
Set the
PermitRootLogin
andPasswordAuthentication
settings to 'yes' and remove '#' at the beginning of each line as shown below:PermitRootLogin yes
PasswordAuthentication yes -
Save the changes and close the file.
-
Restart the SSH service:
# service sshd restart
Note: If you doubt that the root password is correct, reset it with the command 'passwd'.
-
Restart migration.
Additional Information
To migrate with a non-root user, visit:
To learn more about Plesk migration, visit: