After start of using NixOS as a new package management system, I get the following error when using git within Azure DevOps repositories and rsa ssh key: Show
What can I do with that, please? asked Nov 7, 2021 at 18:45
Jaroslav BezděkJaroslav Bezděk 5,2895 gold badges26 silver badges39 bronze badges 1 With SSH, there are several different types of
keys and RSA keys (the In the case of Azure DevOps, it only supports the kind of RSA with SHA-1, and SHA-1 is considered very weak. This essentially means that there are no secure ways to connect to it over SSH, and until they fix that, you're better off using HTTPS or a different hosting service. GitHub, GitLab, and Bitbucket all support secure methods of authentication. If you really need to use SSH with Azure DevOps at the moment, you can add an entry to your
However, be aware that this is a workaround and it's known to be insecure, so you should contact Azure DevOps about this problem and switch to HTTPS until they do, or move elsewhere. answered Nov 7, 2021 at 19:21
8 OpenSSH will report the error Azure Devops (TFS) is offering to authenticate over Since it's considered
weak, OpenSSH deprecated using
Azure Devops Services subsequently
announced a patch to allow On may 5 2021, the Azure DevOps documentation was updated to mention using Q: Is this true?
Q: Which algorithms are supported?Doesn't say anywhere. Probably only Q: How do I use a cryptographically unsafe algorithmAdd this
To your
Q: Is Microsoft aware that this is a problem?Yes they are. Q: Do they care?No it's a feature answered Dec 21, 2021 at 11:10
CervEdCervEd 2,09422 silver badges18 bronze badges 2 According to this post, you can add
answered Nov 7, 2021 at 18:45
Jaroslav BezděkJaroslav Bezděk 5,2895 gold badges26 silver badges39 bronze badges 3 scp or ssh could used this
answered May 24 at 11:00
张馆长张馆长 5564 silver badges8 bronze badges 1 I also got this problem, this worked for me:
I got this problem for a few hostnames so now i have several of those configurations in my ssh config file. answered May 9 at 6:24
1 With NixOS 21.11 openSSH got updated to 8.8p1 ( see Changelog ). OpenSSH deprecated ssh-rsa along with a couple of other insecure ciphers. If i
understood correctly, you are only using nix as package manager and not NixOS. If that is the case you can follow the guides in the remaining answers (edit However, when you are using NixOS to configure your server you can re-enable
To re-enable the insecure ssh-rsa cipher for your openssh server (e.g. when legacy clients connect to the server), you can simply add the following lines to your
answered Dec 30, 2021 at 18:53
makefumakefu 1165 bronze badges 2 Correction for the posted answer. I had the same issue and I fixed it with the following snippet from above with a tiny fix:
Dont forget to replace answered Mar 28 at 15:54
NekoMisakiNekoMisaki 711 silver badge6 bronze badges For those using Azure DevOps, you should use the following ~/.ssh/config, as Azure has a thing with varying what url it returns in its Clone Repository:
answered Aug 1 at 13:53
Esben EickhardtEsben Eickhardt 2,5052 gold badges29 silver badges46 bronze badges In your
answered Aug 8 at 10:33
I also faced this issue on my windows machine while setting up the SSH key for bitbucket Initially, the config file was not created when I generated the public and private key files using the ssh-keygen command, so I used GitBash to create the config file and wrote the below content on it. To create the file
To open and update the created file
Content added to the config file
Note: If you are using your organization's bitbucket account, the hostname will be different or else by default it will be bitbucket.org answered Jul 26 at 14:04
The format of the workaround wasn't working for me for windows 10 and git version 2.32.0. This snippet worked for me Host = Hostname.com answered Apr 19 at 16:46
I googled a lot a bout this mistake: I have Ubuntu 22.04 and here all my configuration. linux@linux:~$ cat /home/username/.ssh/config
And: /etc/ssh/sshd_config
VonC 1.2m492 gold badges4123 silver badges4868 bronze badges answered Jun 1 at 6:12
I had this issue and it turned out to be because my computer was referencing the wrong ssh.exe file. Run the command:
If this does not return OpenSSH/ssh.exe then this is likely your issue. Take the return value and rename the ssh.exe file as ssh.exe.org Run
again and it should now show the OpenSSH/ssh.exe file. answered Jul 20 at 16:27
Not the answer you're looking for? Browse other questions tagged git azure-devops rsa nix or ask your own question. |