The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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

TAGS
AUG Leaders

Atlassian Community Events