Forums

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

Using RSA Keys per Repo

DevOps
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!
November 21, 2018

Hello

We currently use RSA keys for users to be able to pull our repo to their computers. We do this via Manage Accounts -> SSH Keys -> Add Key

However I've noticed under Repo settings there is a Access Keys option, where it looks like you can add RSA Keys to this section. 

On a test server, i've created a new user called 'bitbucket-build'
I've created a new rsa key using ssh-keygen 
I've copied the pub data to the repo access keys option

But when i'm trying to pull the code using my new user I get the following;

'Cloning into '[FOLDER_NAME]'...
Permission denied (publickey).
fatal: could not read from remote repository 

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

 

Is there something I've done wrong, or am I misunderstanding how RSA keys work per repo?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events