- Plesk for Linux
The following error is displayed when a website is imported in Domains > example.com > Website Importing:
Migrating from cPanel via Tools & Settings > Migration & Transfer Manager fails with the following error:
Failed to perform action: Fetch data from source cPanel
Cause: Failed to connect to the the source server 'cpanel' (203.0.113.2) at '203.0.113.2' by SSH as 'root': ('Bad authentication type', [u'publickey', u'gssapi-keyex', u'gssapi-with-mic']) (allowed_types=[u'publickey', u'gssapi-keyex', u'gssapi-with-mic'])
That is a critical error, migration was stopped.
Password authentication is disabled on the source server.
Note: In regards to Website Importing the warning also appears if the SSH access on the source server was configured via SSH key only.
Connect to the source server via SSH
/etc/ssh/sshd_configand enable SSH authentication by password:
Import website via Domains > example.com > Website Importing or via Tools and Settings > Migration & Transfer Manager by specifying the SSH username and password.
I made the config modification and also restarted the server, but the result is the same error:
Failed to check SSH connection to the source server 'source' (18.104.22.168): Unable to connect to '22.214.171.124' by SSH: Bad authentication type; allowed types: [u'publickey'].
Developer... make sure you have done it in sshd_config and not ssh_config. The other thing is your system could be using ssh_config instead of sshd_config, so best to check both.
Please sign in to leave a comment.