Git Integration for Jira application SSH keys:
Must not be created using the OpenSSH format
Must be the private SSH key
Must use the supported certificate format: RSA
Must use the supported storage format: OpenSSL PEM
Jira admins will see a message similar to the one below when adding the SSH key:
> _The key format is invalid. Please check your private key._
Full error (stack trace) available in the Manage Git Repositories wizard or in Jira logs
Jira admin has provided an SSH public key or an SSH private key with an incorrect format.
Create a new SSH key:
On Linux and macOS:
Use the following command to create a certificate:
ssh-keygen -t rsa -b 4096 -m pem -C email@example.comMacOS often incorrectly creates an OpenSSH format certificate. For more details, see information on this common problem.
Download PuTTY and use PuTTYgen to generate an SSH key pair:
Set Type of key… to RSA.
Set Number of bits… to 4096.
Click Generate. Move mouse pointer on the blank area as instructed.
Follow screen instructions such as moving your mouse pointer on random locations on the blank area of the PuTTYgen dialog. Do this until the progress bar completely fills up and the SSH key pair is generated.
Entering a Passphrase for the generated key is optional but will ensure a more secure connection.
Save your generated public and private key to a file by clicking the respective options.
Copy the generated key. This is the public key that you will be using on the SSH configuration page of your git host.
For the private key, PuTTY creates a private key in its own ".ppk" format. Convert it to ".pem" via menu Conversions > Export OpenSSH key in PuTTYgen. Add/upload this file to Git Integration for Jira app > SSH Keys or when prompted on connecting SSH git repositories in Jira.
Create a new SSH key using RSA certificate format. See Solution #1.
Use OpenSSL PEM storage format. See Solution #1.
Provide the public SSH key to the SSH configuration of your git host.
Provide the private SSH key to the Git Integration for Jira app > SSH Keys or when prompted on connecting SSH git repositories in Jira.
Why don’t I see commits? (Git Integration for Cloud) (Git Integration for Jira Cloud)
Repositories missing from Azure DevOps (or VSTS) integration (Git Integration for Jira Cloud)
Licensing error – installCheck failed (Git Integration for Jira Cloud)
Why don’t I see the Create branch or pull request features? (Git Integration for Jira Cloud)
Connection error for self-hosted git servers (Git Integration for Jira Cloud)
SSH key file format is invalid (this page)
Error while reindexing – Java heap space / Object too large, rejecting the pack (Git Integration for Jira Cloud)
OAuth connection error or error 401 page with Azure DevOps integration (Git Integration for Jira Cloud)
OAuth connection error or error 401 page with Azure DevOps with Active Directory integration (Git Integration for Jira Cloud)
Empty list of repositories after integration of Azure Repos (Git Integration for Jira Cloud)