Unable to negotiate with 40 74 28 9 port 22 no matching host key type found Their offer ssh-rsa

0 votes

When using git within Azure DevOps repositories with an rsa ssh key, I receive the following error after switching to NixOS as a new package management system:

C:\Users\Tanishqa Chuadhry> git pull
Unable to negotiate with 40.74.28.9 port 22: no matching host key type found. Their offer: ssh-rsa
fatal: Could not read from remote repository.

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

Please tell me what I can do with that.

Dec 13, 2022 in Git & GitHub by Edureka
• 12,700 points
2,640 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Git & GitHub

0 votes
1 answer

Error: git pull fails “unable to resolve reference” “unable to update local ref”

This happens when there are unnecessary files ...READ MORE

answered Jul 26, 2018 in Git & GitHub by Sophie may
• 10,620 points
19,519 views
0 votes
1 answer

How can I set ssh key in GitHub?

Hi@akhtar, First you have to generate key using ...READ MORE

answered Feb 4, 2020 in Git & GitHub by MD
• 95,460 points
1,409 views