SSH Key Already Used

I’m trying to add my SSH public key to my account and encountering the following error:

The ssh public key fingerprint I’m adding is:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhLaBbl9AlLOplT4IAxciubkVUi8lC2WSsWc3Nt8XdtF7hqHdHaj29SKx1ZmJsDUYc6253Z3mHkvvbtZqjstsR3QTymBKBTNLzYzGlU9LHzSCurVDfck1Alnjm1jT7+fzYd5Ap9pvkaanuK5NEsKfBokLZ4LEKeG4GnzDuHUe9CAI2doKzD/4KiZV8xVjnWvwA3h6ZZJJzitMSmlQ/LMjXJmPyvl6dfdc7wPDMPheNnYV0+16Xp9uzgd6gma2NePg/4kUi1XcKZtBKqg0GeyoGu+Gty+/p/UUgsBZZSkE0bRa2uK2FR/oUCsD+m0OXsemsHIcwtLXniX5LJANmnMQt

The ssh public key is:

-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4S2gW5fQJSzqZU+CAMXI
rm5FVIvJQtlkrFnNzbfF3bRe4ah3R2o9vUisdWZibA1GHOtud2d5h5L727Wao7Lb
Ed0E8pgSgUzS82MxpVPSx80grq1Q33JNQJZ45tY0+/n82HeQKfab5Gmp7iuTRLCn
waJC2eCxCnhuBp8w7h1HvQgCNnaCsw/+ComVfMVY51r8AN4emWSSc4rTEppUPyzI
1yZj8r5enX3XO8DwzD4XjZ2FdPtel6fbs4HeoJmtjXj4P+JFItV3CmbQSqoNBnsq
Brvhrcvv6f1FILAWWUpBNG0WtrithUf6FArA/ptDl7HprByHMLS154l+SyQDZpzE
LQIDAQAB
-----END PUBLIC KEY-----

Can someone from GitLab support investigate which account this key is associated with and remove it? If an admin would like me to verify my ownership of the private key they can supply a message with the above public key for me to decrypt.

Did you solve the problem? I have the same one.

Hi @rBo3Db-100ka,

Do you have two account(In which one has ssh key?). Because, it looks like that generated ssh key has been allocated to other account. So, first remove the ssh key properly and try to generate a fresh ssh key because I think GitLab doesn’t allow to add same key to multiple accounts. I hope it will probably solve your problem. But, if the problem remains same then try to contact to GitLab support team.

Regards,
Kaushal

1 Like

Hi @kaushal_nec
You are totally right. My ssh key was added to another account.
Thank for your help.
Have a nice day.

I have the same problem, and I cannot find the Gitlab user has the SSH key. Is there any way to know what is the user associated to the SSH key so as I can ask him to remove it?.