If you are using the SSH protocol, ensure sure your public key is in Bitbucket and loaded on the local system to which you are cloning. ..What does this sentence mean?

This question is in reference to Atlassian Documentation: Clone a repository

"If you are using the SSH protocol, ensure sure your public key is in Bitbucket and loaded on the local system to which you are cloning."

I don´t understand this sentence. What do I have to do? How do I "ensure sure my public key is in Bitbucket and loaded on the local system to which I am cloning". Which steps should I use to do this? I´m a beginner with bitbucket.

3 answers

1 accepted

This widget could not be displayed.

You'll need to learn a little about SSH.

Here's how to create a new SSH key pair (one half of the pair is private and shouldn't be shared and the other half is public) and load it into your local system: https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/

Here's how to add that key into an account on Bitbucket: https://confluence.atlassian.com/bitbucket/add-an-ssh-key-to-an-account-302811853.html (or alternatively, use a key for deployment purposes - https://confluence.atlassian.com/bitbucket/use-deployment-keys-294486051.html)

And here's some further information about how this works: https://confluence.atlassian.com/bitbucket/use-the-ssh-protocol-with-bitbucket-cloud-221449711.html

This widget could not be displayed.

As I understand "loaded on the local system to which you are cloning" is: You need to ensure, that your git-client is using the SSH-public key for the connection. E.g. using "git+ssh" as protocol and not "http". Configure the SSH-client, the GIT-client is using, to use the private key, that is associated with the public key.

This widget could not be displayed.

Thank you guys very much! It was a great help! I understund much better now. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 6 hours ago in Europe

ABUG-20 Livestream: The 20th Atlassian Belgian User Group (including a Summit 2018 Recap)

You can't/couldn't make it to our User Group today? Don't worry, we'll be live streaming and recording the event for your sake. Comments, questions, basically any reactions can be posted below! New...

35 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you