unified ssh key for all git repos in Crucible

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

This widget could not be displayed.
Lukasz Pater Atlassian Team Apr 01, 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).

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 9 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

39 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you