Plesk

Migration does not start from the source server powered by ubuntu 14: Permission denied (publickey,password).

Symptoms

Cause

Ubuntu 14 doesn't support encryption algorithms compatible with SSH keys used by default on modern operating systems.

Resolution

  1. Connect to the target server via SSH

  2. Generate a ed25519 key:

    # cd /root/.ssh && ssh-keygen -t ed25519

  3. Push the content of the generated public key *.pub to the /root/.ssh/authorized_keys file on the source server

  4. Update the migrator's config.ini, so it'll use key instead of password for the ssh auth:

    # egrep -iE '([s|^ssh)' /opt/psa/var/modules/panel-migrator/sessions/20230413103231/config.ini
    [source]
    ssh-username = "root"
    ssh-auth-type = "key"
    ssh-port = "22"
    ssh-key = "/root/.ssh/migration"

Exit mobile version