Plesk Migrator fails to connect to source server: Permission denied (publickey,password)

Created:

2016-11-16 13:18:01 UTC

Modified:

2017-08-19 03:09:12 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Plesk Migrator fails to connect to source server: Permission denied (publickey,password)

Applicable to:

  • Plesk 12.5 for Linux

Note: This article has the reference to the issue with the fix available:

  • #PMT-2856 "Migration on Linux failed if the “root” user’s home directory pointed not to /root."
    Fixed in:
Please consider updating your server:

Symptoms

Plesk Migrator fails to connect to source server:

Errore: 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.
command: rsync -l --chmod=Fu=r,Du=rwx,go= -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20160510145415/ssh-keys/id_dsa.203.0.113.2 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' /usr/local/psa/var/modules/panel-migrator/sessions/20160510145415/ssh_upload.1 root@203.0.113.2:/tmp/panel-migrator/version
exit code: 255
stdout:
stderr: Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]

root home directory is customized:

# grep root /etc/passwd
root:x:0:0:root:/root/subdirectory:/bin/bash

Cause

This is Plesk Migrator bug with ID #PMT-2856 , which was fixed in Plesk Migrator version 1.12. (Plesk 12.5.30 MU#39) https://docs.plesk.com/release-notes/12.5/change-log/ .

Resolution

Upgrade Plesk Migrator at Extensions > Extensions Catalog > Plesk Migrator > Upgrade

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