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

Issue with ssh keys

VincentRisi May 4, 2022

Unauthorized
fatal: Could not read from remote repository.

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

I get this when I try a git push.

git status and git pull seem to work.

I would also like to be able to use my private key from other machines.

 

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2022

Hi @VincentRisi,

Welcome to the community.

For us to further check, would you be able to check the following?

  1. Could you possibly check if your remote URL is using an SSH protocol connection using the command git remote -v?
  2. Would you be able to check if your SSH key identity is authenticated to Bitbucket.org as well by running the command ssh -T git@bitbucket.org?

You can also refer to this documentation for more information on troubleshooting SSH issues: Troubleshoot SSH issues

Let me know how it goes.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events