NickF
NickF

Reputation: 5737

Bitbucket with Git extensions - authentication problems

I created an empty Bitbucket repository and I want to clone that to my computer using Git Extensions

enter image description here

I followed by these steps (created and added public key and saved the private...).

enter image description here

When I'm trying to clone that empty repository I get the following problem:

enter image description here

What else can I do?

Upvotes: 0

Views: 3732

Answers (2)

NickF
NickF

Reputation: 5737

I solved that issue:
The link I posted was correct as well as aaronmallen's answer.
The problem caused because when I press the clone button on Bitbucket it gives you the whole command line git clone [email protected]:myuser/my-project.git
I tried to clone throw Git Extension UI where I needed only the URL ([email protected]:myuser/my-project.git).

Upvotes: 5

aaronmallen
aaronmallen

Reputation: 1438

You need to go into the settings and create an SSH Key and then add that key to the repository on bitbucket.

  1. In git extension go to Tools > Putty > Generate or Import Key

  2. Click Generate

  3. Move your mouse around the empty area until the progress bar goes away.

  4. Copy the entire SSH key.

  5. Click save public key and save it somewhere

  6. Then in your bitbucket repo go to Settings > Deployment Keys > Add Key and copy paste the key you generated into the Key field and save.

  7. In GitExtensions goto your repository and load the SSH key

Upvotes: 4

Related Questions