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

This deploy key has read access to the following repositories:

kalthad May 30, 2019

Hi

 

I want to push (mercurial) via ssh to one of my repos. I uploaded the pub key, but it seems that I have only read access how can I change that to write access?

thanks

Uwe Brauer

1 answer

0 votes
jwhite1st May 30, 2019

The issue you are running into is a permissions issue on your destination. You need to give the user with the pub key write permissions to the directory it is pushing to. 

kalthad May 30, 2019

well when I generated the key I used -C and my the email address of my account. I also receive the message remote: Can't find your username.

but in my .hgrc file, I have set up my user id I always use. I am confused

jwhite1st May 30, 2019

It does not matter so much for the user that you created the key as but the user that you are creating an ssh session for.

kalthad May 30, 2019

SOLVED:

I found the answer here:

https://community.atlassian.com/t5/Bitbucket-questions/Unable-to-push-code-to-my-private-repo/qaq-p/708507

 

the key as to be in my user account, not in the repo! This is VERY confusing and the documentation is silent on that issue, sigh

Like # people like this
Raghavan alias Saravanan Muthu February 25, 2021

Very true. I suspected this as well and I also got this issue today. This helped me resolve my issue. Thanks.

Like Maksim Tikhonov likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events