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.