Forums

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

Enter passphrase for key '/c/Users/ailogic/.ssh/id_rsa': Unauthorized fatal: Could not read from rem

Total Language
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!
December 11, 2020

getting response while push the code like as below

 

 

Enter passphrase for key '/c/Users/ailogic/.ssh/id_rsa':
Unauthorized
fatal: Could not read from remote repository.

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

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 14, 2020

Hi @Total Language  and welcome to the community.

Are you trying to push to a Bitbucket Cloud repository (hosted in https://bitbucket.org/) or a Bitbucket Server one (in a self-hosted instance)?

A few suggestions I can make:

  • I see in the output that you get asked for a passphrase. Do you remember the passphrase for that SSH key pair? If not, you can try generating a new SSH key pair without a passphrase and set up SSH with that instead.
  • Check the remote URL of the repo by executing the command git remote -v in your local directory of this repo's clone, and ensure that it is correct.
  • Check with one of the repo admins that you have permissions to push to this repo.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events