Plesk

Unable to migrate from Direct Admin/cPanel: Permission denied, connection unexpectedly closed

Symptoms

Cause

Misconfigured sshd service.

Resolution

  1. Log into the source server via SSH .

  2. Add plesk-migrator-* to AllowUsers in /etc/ssh/sshd_config file: open the file in any text editor and insert the following line in it:

    AllowUsers root plesk-migrator-*

  3. Restart SSH service:

    # service sshd restart