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

Gitbucket Authentication issue

Vishnu Sajeevan September 30, 2020

Hi All,

 

I created a public key on unix and added that to my repository with read and write privileges , then I changed the URL to ssh instead of https then when I try to push I am getting the below error ,,can anyone help me

 

"Permission denied (publickey).

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

and the repository exists.

1 answer

0 votes
Julius Davies _bit-booster_com_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 30, 2020

 

I suspect your git client is not properly picking up the private key.

You can set this variable (if you're using Git 2.3 or newer) to get some debug information about the git-ssh session:

GIT_SSH_COMMAND="ssh -vvv"

Where did you put the private key on your unix system?  Git and SSH need to know where to find that private key in order to use it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events