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.
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
It looks like you're new here. Sign in or register to get started.