Articles in this section

Migration from Direct Admin/cPanel fails: Permission denied, connection unexpectedly closed

Plesk for Linux kb: technical ext: migrator ABT: Group A

Applicable to:

  • Plesk for Linux

Symptoms

  • Unable to migrate a domain

    stderr: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
    rsync error: unexplained error (code 255) at io.c(605) [Receiver=3.0.9]

    stderr: Permission denied (publickey,password,keyboard-interactive).
    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
    rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2]

  • Pre-migration checks shows the following errors

    The option "AllowUsers" is used in /etc/ssh/sshd_config on the source server 'directadmin'
    Plesk Migrator creates temporary users on the source server to copy web content in a secure way.
    These users have name starting from "plesk-migrator" and they must have ability to login to the source by SSH.
    To allow these users to login by SSH, fix "Allow users" option so it looks like:
    AllowUsers root plesk-migrator-*

Cause

Misconfigured sshd service.

Resolution

  1. Log into the source server via SSH .

  2. Edit /etc/ssh/sshd_config and add plesk-migrator-* to AllowUsers

    AllowUsers root plesk-migrator-*

  3. Restart SSH service:

    # service sshd restart

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.