Git Integration for Jira Self-Managed (Data Center/Server) Documentation

Contact Support
GitKraken Status  

Adding and associating SSH keys

Right click here to open this video in a new browser tab for more viewing options.

 

Limit the usage of the SSH key by associating them to selected repositories. Strictly map SSH keys to repositories via SSH Actions menu.

  1. On the SSH Keys page, click  Actions ➜ Associations for the selected SSH key.

  2. The following screen is displayed:


    Mark the required repository or repositories to associate the SSH key.

  3. Clicking the Select All text label marks all repositories that will be associated to this SSH key.

  4. Clicking the Select None text label deselects all repositories.

  5. Click Save to save the settings.

If an SSH key is strictly associated with some repository, that SSH key is an associated key.

 

Associating SSH keys for multiple repositories

If you have multiple repositories that uses the same SSH key, configure them via Git Integration app by doing the following steps:

  1. Configure a repository that requires an SSH key via Using the Connect Repository wizard.

  2. Associate that SSH key with the currently configured repository via Manage git repositories ➜ SSH keys (sidebar).

  3. Add another repository that requires the same SSH key. You will be presented with the following screen:


  4. Select the SSH key that you have associated to the previously added repository from the Existing key list.

  5. Click Next to continue. Complete the wizard and add another repository as desired.

For third-party products or services (such as GitHub, GitLab, Bitbucket, etc.), register the PUBLIC KEY for target repository or in profile settings of your git account.

 

Associating SSH for custom git servers

For custom git hosting servers, ask your administrator to check that the target keypair’s PUBLIC KEY is added into the authorized_keys file of the git server.

For more information, see the following article Setting up Git on the Server.

 


Prev: SSH keys configuration

Next: Removing SSH keys

 

More on Working with SSH keys

Working with SSH keys (index)

Generating SSH keys

Adding a private SSH key

Adding a public SSH Key

SSH keys configuration

Adding and associating SSH keys (this page)

Removing SSH keys

Reconfigure Git repositories and SSH keys

Have feedback about this article? Did we miss something? Let us know!
On this page