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

0 votes
Answer 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.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

283 views 0 12
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