Can´t fetch or push to remote repository using sourceTree and Stash

Suddenly several of our developers can fetch or push to the remote repository.

It has worked before and is still working for other developers.

They get permission denied (public key). fatal could not read from the remote repository

This is strange as it has worked for them before

Any advice how to solve the problem

3 answers

1 accepted

This was caused by problems with ssh keys. Now we use http instead

"permission denied (public key)" means the server is rejecting their connection. Their could be a number of reasons. Check for typos. Verify that you have a private key generated and loaded into ssh: 'ssh add -l'. If that command does not print anything, you will need to load an existing SSH key by running 'ssh-add path/to/key'

0 votes

Hi Annicka,

I'd advise you to open a support request at https://support.atlassian.comand create and upload a support zip (Administration > Support Tools > Support Zip). That will allow our support engineers to have a look at your logs and sort out what might have gone wrong.

Cheers,

Michael

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

652 views 0 4
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