Hello,
I keep receiving "Invalid key" when I try to add a new key to my personal bitbucket account (but it works in other contexts).
I suspect the problem here is the key type: ssh-dss. Is it possible?
This is what I'm trying to paste (one single line):
ssh-dss AAAAB3N...2104 more characters...UsRI= user@example.com
Any advices?
Hi Sergio,
Welcome to the community!
Bitbucket only supports four encryption algorithms for user keys: Ed25519, ECDSA, RSA, and DSA, so make sure your key was created using one of those.
DSA keys list themselves as "ssh-dss", so that isn't the issue here. However, the key length may be incompatible - Bitbucket limits DSA keys to 1024 bits, and will reject other sizes. (RSA keys can be 2048 bits or more; ECDSA keys can be 256, 384, or 521 bits; and Ed25519 keys are always 256 bits.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.