Unable to negotiate with XX.XXX.XX.XX: no matching host key type found. Their offer: ssh-dss

后端 未结 7 950
自闭症患者
自闭症患者 2020-12-02 05:22

I am trying to create a git repository on my web host and clone it on my computer. Here\'s what I did:

  1. I created a repository on the remote server.
  2. I
相关标签:
7条回答
  • 2020-12-02 06:16

    How would one specify multiple algorithms? I ask because git just updated on my work laptop, (Windows 10, using the official Git for Windows build,) and I got this error when I tried to push a project branch to my Azure DevOps remote. I tried to push --set-upstream and got this:

    Unable to negotiate with 20.44.80.98 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    

    So how would one implement the suggestions above allowing for both of those? (As a quick get-it-done, I used @golvok's solution with group14 and it worked, but I really don't know if 1 or 14 is better, etc.)

    0 讨论(0)
提交回复
热议问题