Reputation: 63
I'm trying to make a GitClone from a Gitlab repository. I have generated a ssh key with the command ssh-keygen on my cmd:
Then i added my pub key (starting with ssh_rsa) to my Gitlab account, but whenever i try to make a gitclone, i have the following error:
Any advices? I tried to convert my key with puttygen, but still doesn't work! The start of my pub key is ssh-rsa key.. And the private key: --BEGIN OPENSSH PRIVATE KEY-- ..key.. --END OPENSSH PRIVATE KEY--
Output of ssh -v git@gitlab.(..).com
Upvotes: 0
Views: 3252
Reputation: 63
OK. i Solved the problem. Since i was using TortoiseGit to make a GitClone, this last one doesn't accepts Openssh key. Therefore, once you generate the key, you need to convert it in putty format with Puttygen. Moreover, you must pay attention to the version of the new generated key and you can change the version on puttygen on key>parameters to save key!
Upvotes: 0