- Plesk for Linux
When starting a migration from WHM/cPanel, the operation fails with:
CONFIG_TEXT: [Migration] Failed to detect databases of subscription.
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/20170412070434/ssh-keys/id_rsa.126.96.36.199 -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_11_5_pmm_shared/ email@example.com:/tmp/pmm_agent
exit code: 255
stderr: ssh_exchange_identification: Connection closed by remote host
An SSH connection from Plesk server to WHM/cPanel server is successful:
MYSQL_LIN: [root@plesk_server ~]# ssh firstname.lastname@example.org
SSHD configuration is not adjusted on the WHM/cPanel server.
Connect to the WHM/cPanel server via SSH.
Open the file
/etc/ssh/sshd_configfile in a text editor. In this example, we are using the vi editor:
# vi /etc/ssh/sshd_config
Make sure these settings do not have a # (hash) character at the beginning of the line and values are the same:
CONFIG_TEXT: UseDNS no
Save the changes and close the file.
Restart the SSH service:
# service sshd reload