The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

fatal: Could not read from remote repository.

Shmuel Livshits
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 3, 2017

Hi. I getting this error ": Could not read from remote repository ". I've dove everithing what is written here  https://stackoverflow.com/questions/16074832/cannot-push-to-git-repository-on-bitbucket

but nothing changed

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 4, 2017

Hi Shmuel, are you using SSH or HTTPS to connect to Bitbucket?

If you're using SSH it could be that Bitbucket could not authenticate you with the key that was offered by your SSH agent. Can you run this command from your terminal and show us the output? This will attempt to create a connection to Bitbucket for Git and tell you which username is using: 

ssh -Tv git@bitbucket.org

Also, run this command to see which key is your SSH agent currently offering:

ssh-add -L

If you don't see your key listed, you can add it by:

ssh-add ~/.ssh/identity

Note that with ssh-agent management Bitbucket uses the first key in the list. If you are still having problems, try removing all but the identity you want to connect with, to do this:

ssh-add -d ~/.ssh/identity

Hope that helps!

Ana

TAGS
AUG Leaders

Atlassian Community Events