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

unified ssh key for all git repos in Crucible

Qi LUO March 31, 2015

We have our own git & gitlab server, and I/ve created a dedicated account for crucible.

In crucible, when I add a repo from git, how can I reuse the ssh key instead of generating a new one every time?

Thanks in advance.

 

1 answer

1 accepted

1 vote
Answer accepted
lpater
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 1, 2015

Hi Qi,

When creating the repository through the UI you can choose to 'Upload private key for ssh', this way multiple repositories could share the same private key, matching your gitlab user.

The same functionality is avalable as a part of the /rest-service-fecru/admin/repositories REST resource, using "authType": "key", and providing the "privateKey" value (see the example for HG repositories in that doc).

Qi LUO April 1, 2015

uploading private key is good. Now I'm using deploy key in GitLab for security reason

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events