• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Migration issues

ilijamt

Basic Pleskian
I'm having issues setting up migration between two different servers of Plesk.

I can ssh from the console to any servers without supplying a key without an issue

I keep getting

Failed to connect to the source server 'source' (x.x.x.x) by SSH: not a valid EC private key file

I've checked the debug logs in the console for the migration session and this is whats in the logs
Code:
+|2019-08-01_18:47:41,063|D|MT|core.connections.checker|||Check SSH connection for the source server 'source' (x.x.x.x) server
+|2019-08-01_18:47:41,165|D|MT|core.connections.checker|||Exception:
=|Traceback (most recent call last):
=|  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/connections/checker.py", line 26, in check_ssh
=|    with ssh_utils.connect(server_options) as ssh_client:
=|  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/ssh_utils.py", line 146, in connect
=|    settings.ssh_auth.connect(settings.ip, client)
=|  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/migrator_config.py", line 715, in connect
=|    look_for_keys=False, key_filename=self.key_filename
=|  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/ssh_utils.py", line 102, in connect
=|    self._connect_multiple_attemtps()
=|  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/ssh_utils.py", line 107, in _connect_multiple_attemtps
=|    paramiko.SSHClient.connect(self, self.hostname, *self.args, **self.kw)
=|  File "/opt/plesk/python/2.7/lib/python2.7/site-packages/paramiko/client.py", line 367, in connect
=|    look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host)
=|  File "/opt/plesk/python/2.7/lib/python2.7/site-packages/paramiko/client.py", line 584, in _auth
=|    raise saved_exception
=|SSHException: not a valid EC private key file
+|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||Exception:
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||Traceback (most recent call last):
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/workflow/runner/by_subscription.py", line 164, in run_multi_attempts
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    run()
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/workflow/runner/by_subscription.py", line 153, in run
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    action.run(self._context)
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/actions/base/legacy_action.py", line 68, in run
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    self.function(global_context)
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/workflow/shared_hosting_workflow.py", line 345, in <lambda>
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    function=lambda ctx: ctx.migrator._check_connections(ctx.options)
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/migrator.py", line 250, in _check_connections
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    self._check_sources()
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/migrator.py", line 397, in _check_sources
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    self.global_context.conn.check_source_servers()
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/connections/source_connections.py", line 106, in check_source_servers
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    self._check_connections_plesk_servers()
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/connections/source_connections.py", line 118, in _check_connections_plesk_servers
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    self._check_connection_for_servers(check_list)
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/plesk/connections/source_connections.py", line 123, in _check_connection_for_servers
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    ConnectionChecker().check(check_list)
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/connections/checker.py", line 17, in check
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    self.check_ssh(server.description(), server_options)
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/connections/checker.py", line 37, in check_ssh
=|2019-08-01_18:47:41,281|D|MT|core.workflow.runner.by_subscription|||    raise MigrationNoContextError(messages.CHECKER_FAILED_TO_CONNECT_BY_SSH % (server_name, err))

Does anyone know how to solve this?

These are both versions of the servers

Product version: Plesk Onyx 17.8.11 Update #62
Update date: 2019/08/01 17:24
Build date: 2019/07/25 09:11
OS version: Ubuntu 18.04
Revision: 84f9ee2676301da05c98f8b99fc7f269a2d73307
Architecture: 64-bit
Wrapper version: 1.2

Product version: Plesk Onyx 17.8.11 Update #61
Update date: 2019/07/27 05:25
Build date: 2019/07/18 03:42
OS version: Debian 9.9
Revision: c8a5545504df5b65e19715823ec3a16f735b6506
Architecture: 64-bit
Wrapper version: 1.2
 
If I use username / password for migration there is no issue. But then I have to allow password login for the server.
I've tried using the command line.
And ssh between the machines works without an issue.
 
Back
Top