Unable to start Plesk migration due to invalid permissions on .ssh files: Permission denied (publickey,gssapi-with-mic,password)

Follow

Comments

4 comments

  • Avatar
    webmaster

    thanks, that was the issue

    0
    Comment actions Permalink
  • Avatar
    Christoph Fritz

    Does not work, starting migration on ubuntu22 to old ubuntu14 host still fails!

    (Direct login with ssh works)

    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= --timeout=30 -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20220914173656/ssh-keys/id_rsa.XXX.XXX.XXX.XXX -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_17_0_pmm_shared/ root@XXX.XXX.XXX.XXX:/root/plesk_migrator/plesk_migrator-9sfrgaycf6qd06uhzgmcvdxpufr7k9x4/pmm_agent
    exit code: 255
    stdout:
    stderr: root@XXX.XXX.XXX.XXX: Permission denied (publickey,password).
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: unexplained error (code 255) at io.c(228) [sender=3.2.3]

    1
    Comment actions Permalink
  • Avatar
    Casimir Albert

    Does not work, starting migration on ubuntu22 to old ubuntu14 host still fails!

    Same here. We solved the problem by directly connecting the servers via ECDSA 256bit key: https://docs.plesk.com/en-US/onyx/migration-guide/migrating-from-supported-hosting-platfoms/authentication-by-ssh-linux.77996/

    Generate the key with  

    ssh-keygen -t ecdsa -b 256
    0
    Comment actions Permalink
  • Avatar
    Kuzma Ivanov

    Hi Christoph Fritz!

    There are other KB articles that address the same error message. Please check them out:

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request