It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to use ssh with bitbucket

I recently changed my work machine and i am having trouble using ssh to authenticate with my work repositories.
I can use other clients such as git kraken fine along with cli git. 
I have never had trouble like this and i haven't changed any install steps from what i usually do.

Install bitbucket on a new system

Add existing private repository

Try to push changes to respository

1 answer

0 votes
Ana Retamal Atlassian Team Jul 18, 2017

Hi Jack! Did you copy your SSH keys from your first machine to the second one? Also, can you clarify if you're having trouble pushing to Bitbucket from the command line or just from SourceTree?

If you're having trouble pushing to Bitbucket in general, you can first check if the key is loaded in the SSH agent using the command:

ssh-add -l

If it's not, you can add it using:


If it still doesn't work, please send us the output of the following command, this will show us if Bitbucket is being able to authenticate you

git -Tv

If you're only having trouble pushing from SourceTree, please make sure you followed How do I use SSH with SourceTree? and Generate and load SSH keys into SourceTreeand let us know which version of SourceTree and OS are you using.

Best regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,927 views 0 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you