Blog on software engineering
How to fix: Permission denied (publickey) on Windows 11, when using git clone and id_rsa private key

How to fix: Permission denied (publickey) on Windows 11, when using git clone and id_rsa private key

Source:
https://confluence.atlassian.com/bitbucketserverkb/ssh-rsa-key-rejected-with-message-no-mutual-signature-algorithm-1026057701.html

When using git clone with git 2.34.1 on Windows 11, I was getting the error:

Permission denied (publickey).

Cause: rsa is deprecated
The SSH public private keys were generated by using the command:
ssh-keygen -t rsa

After regenerating the keys with the command:
ssh-keygen -t ed25519

And adding the content of C:\Users\User.ssh\id_ed25519.pub to bitbucket as SSH key.
De connection problems were resolved.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.