Cannot start Plesk migration: Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

Follow

Comments

3 comments

  • Avatar
    HaiSoft

    I needed to add the following to the config file /etc/ssh/ssh_config :

    HostKeyAlgorithms=+ssh-rsa
    PubkeyAcceptedAlgorithms=+ssh-rsa

    So I guess one should add this if dss is used instead of rsa :

    HostKeyAlgorithms=+ssh-dss
    PubkeyAcceptedAlgorithms=+ssh-dss

    1
    Comment actions Permalink
  • Avatar
    Anthony Cerimeli

    I am having this same issue and tried adding these to the end of my /etc/ssh/ssh_config

    Now when I try to run the migrator there is a new error message saying these are bad key types.

    stderr: /etc/ssh/ssh_config line 54: Bad key types '+ssh-rsa,+ssh-dss'.
    /etc/ssh/ssh_config line 55: Bad key types '+ssh-rsa,+ssh-dss'.

    0
    Comment actions Permalink
  • Avatar
    Anthony Cerimeli

    I was able to get by it. 

    HaiSoft's solution worked for me. I added the options just with +ssh-rsa and it worked.

    1
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request