0

I am facing a problem while cloning a repository from the Azure DevOps to my Windows machine. I have created ssh-key and added to Azure DevOps public key section as it is mentioned in the documentation.

But I get this error every time

Unable to negotiate with port 22: no matching host key type found. Their offer: ssh-rsa Error encountered while cloning the remote repository: Git failed with a fatal error. Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

I have checked other links(e.g. Link1 Link2 Link3) to solve this issue. But none of them is working for me. I had no problem before for cloning the repository. But recently I have changed my machine, and it is not working in my new machine. I am using Visual Studio 2019 to clone the repository.

Community
  • 1
  • 1
Mahbub
  • 317
  • 2
  • 9
  • 27

0 Answers0