'Fingerprint has already been taken - Gitlab
I deleted my local Gitlab repository (using Ubuntu) and recreated it. Now I wanted to add a new SSH key so I don't have to type email/pw on every push. What I did:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
ssh-add ~/.ssh/id_rsa
Then added the content of id_rsa.pub into the key form on Gitlab/SSH Keys. I deleted every old key in the settings and also every key in ~/.ssh/ before. And i still get the messages:
Fingerprint has already been taken / Fingerprint cannot be generated
Solution 1:[1]
Try first ssh -Tv [email protected] to double-check you are correctly authenticated.
Then check:
- your deploy keys (
Settings -> Repository -> Deploy Keys), as explained here. - your other GitLab accounts
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | VonC |
