- Plesk for Linux
When starting a migration from WHM/cPanel, the operation fails with:
CONFIG_TEXT: [Migration] Failed to detect databases of subscription.
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