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

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Jan 17, 2019 in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

1,392 views 13 14
Join discussion

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