Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to use ssh with bitbucket

Jack Taylor July 17, 2017

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
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 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:

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
TAGS
AUG Leaders

Atlassian Community Events