- Plesk for Linux
Plesk migration fails with the following error message in Plesk:
PLESK_ERROR: 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 -r --chmod=Fu=r,Du=rwx,go= -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20170914203347/ssh-keys/id_rsa.203.0.113.2 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/legacy/extras/plesk_12_5_pmm_shared/ email@example.com:/root/plesk_migrator/plesk_migrator-ka6ouvvryh8xnvwatok6m0deoglwnj8f/pmm_agent
exit code: 255
stderr: Permission denied (publickey,gssapi-with-mic,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]
That is a critical error, migration was stopped
One of the following error messages appears in the logfile
/var/log/auth.log) on the source server:
CONFIG_TEXT: Authentication refused: bad ownership or modes for directory /root
CONFIG_TEXT: Authentication refused: bad ownership or modes for directory /root/.ssh
Wrong permissions on the directories
Connect to the source server via SSH.
Set correct permissions:
# chmod 550 /root
# chown root:root /root/.ssh
# chmod 755 /root/.ssh