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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

563 views 1 2
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