Unable to start migration: Permission denied (publickey,password), connection unexpectedly closed

Created:

2017-07-14 19:27:41 UTC

Modified:

2017-08-08 13:14:21 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to start migration: Permission denied (publickey,password), connection unexpectedly closed

Symptoms

  • Migration fails with the following 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/20170514224351/ssh-keys/id_rsa.203.0.113.2 -p 2828 -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_17_0_pmm_shared/ root@203.0.113.2:/var/migration/plesk_migrator-2sugyp3lawuamu6q36dfsxsnp25hezka/pmm_agent
    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]
    That is a critical error, migration was stopped.
  • The following error is found in /var/log/secure or in /var/log/auth.log:

    Authentication refused: bad ownership or modes for directory /root
    

Cause

Permissions for /root directory are not correct

Resolution

Change permissions for /root directory as follows:

# chmod 550 /root
# ls -ld /root
dr-xr-x--- 6 root root 4096 Jul 14 23:31 /root
Have more questions? Submit a request
Please sign in to leave a comment.