Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't push to Bitbucket because SSH authentication fails. I never set up any SSH-Keys!?

Marcel June 5, 2018

Hey there,

all of a sudden, I'm not able to push my commits to my remote repository on Bitbucket anymore. A few days ago it was working just fine. I'm working with SourceTree and I do get an error whenever I try to push. 

The error says, that the authentication over SSH-Keys failed and if I would like to start the Pageant and try again. If I open the Key-List in PuTTY, the list is empty.

Does someone know what I need to do? I never used any SSH-Keys and everything always worked fine. 

 

EDIT: Oh, and running 'ssh-add -l' in my command line just tells me that a connection to my authentication agent could not be opened. 

1 answer

1 accepted

2 votes
Answer accepted
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 7, 2018

Hello! Did you setup a SSH key for that repo? You might need to re-add the key to Pageant. If you didn't setup an SSH key, then you'll probably need to. You can verify that the repo requires a key by logging into Bitbucket and checking your SSH key under your user settings.

 

You can find more info about configuring an SSH key here

Marcel June 7, 2018

I didn't set up any SSH Keys. Opening up the SSH Keys page in Bitbucket just points out that I need to "enable Pipelines for this repository to add SSH keys". I don't want to use Pipelines since it costs money and I don't need it.

What else could I do?

Marcel June 7, 2018

I'm retarded :D I've got it to work now. 

I was navigating to the wrong SSH-Section. I somehow missed the part where I had to open my "Bitbucket-Settings" from clicking my Avatar in the lower left corner. I only checked the SSH section in the Pipelines menu. 

It was actually a piece of cake, once I read everything correctly.

Thank you :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events