I have a remote repository in bitbucket and a local, but I cannot get them connected. Do I need SSH?

I can log into the bitbucket, and I can see the remote in SourceTree. But I cannot commit. 

I have tried adding SSH but following the instructions don't change anything. 

Should I delete the remote and re-add with the key? 

1 answer

1 accepted

0 vote

Do you get an error message when trying to commit? Are you also pushing when committing? If you get an authentication failure error you should have a look at this thread, https://community.atlassian.com/t5/Bitbucket-questions/SourceTree-2-1-10-0-Authentication-Issues/qaq-p/623202

I have tried to upload the SSH public key to bitbucket that was generated in the Putty in SourceTree but I get an error that says its an invalid key. 

Mikael Sandberg Community Champion Aug 23, 2017

Did you copy the key string directly from PuTTY Key Generator or from the saved file? If you copied it from the file, have you tried loading the key in PuTTY and copy it from there?

Thank you!I was copying from the text file and when I did it from putty it worked.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

270 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot