Articles in this section

Site import fails in Plesk: Failed to connect to the source domain by SSH: Bad authentication type

Plesk for Linux kb: technical ext: migrator ABT: Group B

Applicable to:

  • Plesk for Linux

Symptoms

Connecting to the source domain
Failed to connect to source domain by SSH: ('Bad authentication type', [u'publickey'])(allowed_types=['publickey'])

Cause

Password authentication is disabled on the source server.
In the case of Website Importing, the warning also appears if the SSH access on the source server was configured to use SSH keys only.

Resolution

  1. Log in to the source server over SSH
  2. Edit /etc/ssh/sshd_config and enable password authentication:

    PasswordAuthentication yes

  3. Restart the SSH daemon

    # systemctl restart sshd

  4. Retry or continue the site import or migration process.
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.