Unable to use ssh with bitbucket

Hi,
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.

Steps: 
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:

ssh-add

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 git@bitbucket.org

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,

Ana

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 ...

252 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