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

fatal: Could not read from remote repository when I push my changes to remote server using sourcetre

calvin.seima
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!
January 31, 2022

Hi, I have a problem when I push my changes to remote server after I commit them from my local machine.

 

I'm using SourceTree for this and and I can authenticate my connection to the remote server using both SSH and HTTP fine.

I'm able to retrieve all the code i have access for, It is only the Push option that is giving me problems.

 

My SSH password is added correctly - i believe, under 'Personal Settings>SSH Keys' from my bitbucket browser. I have also put in a screenshot for this.

 

Where could I be going wrong?GitPushIssue.PNGSSHPassSetup.PNG

 

1 answer

0 votes
pbellagente
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!
January 31, 2022

I cannot clone from plain git too...

git clone git@bitbucket.org:myproject/myrepo.git

Cloning into '**********'...
Forbidden
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

ssh -Tv git@bibucket.org:

authenticated via ssh key.

You can use git to connect to Bitbucket. Shell access is disabled

 nor pull or push from any other repository....

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events