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

Using RSA Keys per Repo

DevOps 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