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

This widget could not be displayed.

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


This widget could not be displayed.

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
This widget could not be displayed.

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
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 Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

729 views 0 3
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