How to configure SSH keys for GIT version control viewer?

I am unable to configure GIT version control viewer.

I am getting the following exception in the logs

2012-09-24 19:10:38,397 QuartzWorker-1 WARN ServiceRunner GitRevisionIndexerJob [xiplink.jira.git.GitManagerImpl]

org.eclipse.jgit.errors.TransportException: git@ UnknownHostKey: RSA key fingerprint is 00:35:ce:fd:b4:63:55:4b:fb:b0:9c:49:5b:22:38:3c

at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(

at org.eclipse.jgit.transport.SshTransport.getSession(

at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(

at org.eclipse.jgit.transport.TransportGitSsh.openFetch(

at org.eclipse.jgit.transport.FetchProcess.executeImp(

at org.eclipse.jgit.transport.FetchProcess.execute(

at org.eclipse.jgit.transport.Transport.fetch(

at com.xiplink.jira.git.GitManagerImpl.fetch(

at com.xiplink.jira.git.revisions.RevisionIndexer.updateIndex(

at com.xiplink.jira.git.revisions.RevisionIndexer.access$000(

at com.xiplink.jira.git.revisions.RevisionIndexer$

at com.xiplink.jira.git.revisions.RevisionIndexer.runAndCollectCounters(

at com.xiplink.jira.git.revisions.RevisionIndexer.updateIndex(

at com.xiplink.jira.git.revisions.RevisionIndexJob.execute(



at com.atlassian.jira.service.ServiceRunner.execute(


at com.atlassian.multitenant.quartz.MultiTenantThreadPool$

at org.quartz.simpl.SimpleThreadPool$

Caused by: com.jcraft.jsch.JSchException: UnknownHostKey: RSA key fingerprint is 00:35:ce:fd:b4:63:55:4b:fb:b0:9c:49:5b:22:38:3c

at com.jcraft.jsch.Session.checkHost(

at com.jcraft.jsch.Session.connect(

at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(

How can I resolve this?

3 answers

1 accepted

1 vote
Accepted answer

That's strange

Can you do these steps to provide me more information to solve your problem:

1. Add: = DEBUG, console, file

to (this file is somewhere under you jira installation)

2. Restart Jira

3. Collect errors and send log file to

4. Also please add your Jira version, Git plugin version and OS used to run jira


Try to do the following

  1. log as user which is used to run jira
  2. cd to git repository
  3. try to run git pull origin master
  4. answer yes to the prompts appear
  5. also make sure that no password is set for ssh keys

I tried git pull origin master in my GIT repository logging in as the user used to run Jira and it worked fine.

But when I am running reindex from GIT version control viewer,I am getting the same error (Unknown HOST key error).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,701 views 3 11
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