svn: E215003: Host key can not be verified

Still need help?

The Atlassian Community is here for you.

Ask the community


In Fisheye 2.8, when attempting to connect (index) to an SVN repository using svn+ssh protocol, the following exception occurs:

2012-08-30 10:30:40,706 WARN [IncrementalPinger1 acme] SvnRepositoryTester-getServerRootURL - Unable to get info for the repository root for acme
com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: E210002: There was a problem while connecting to
at com.cenqua.fisheye.svn.SvnThrottledClient.info2(
at com.cenqua.fisheye.svn.SvnRepositoryTester.getServerRootURL(
Caused by: org.tigris.subversion.javahl.ClientException: svn: E210002: There was a problem while connecting to
at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(
at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(
Caused by: org.tmatesoft.svn.core.SVNException: svn: E210002: There was a problem while connecting to
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(
Caused by: There was a problem while connecting to
at com.trilead.ssh2.Connection.connect(
... 33 more
Caused by: Key exchange was not finished, connection is closed.
at com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(
at com.trilead.ssh2.transport.TransportManager.getConnectionInfo(
at com.trilead.ssh2.Connection.connect(
... 37 more
Caused by: The server hostkey was not accepted by the verifier callback.
at com.trilead.ssh2.transport.KexManager.handleMessage(
at com.trilead.ssh2.transport.TransportManager.receiveLoop(
at com.trilead.ssh2.transport.TransportManager$
... 1 more
Caused by: org.tmatesoft.svn.core.SVNAuthenticationException: svn: E215003: Host key (' <ssh-rsa>') can not be verified.
at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.verifyHostKey(


The new version of SVNKit introduced in Fisheye 2.8 requires extra checks on the stored SSH keys.  FE-4433 - Getting issue details... STATUS



Run the following command with the same user running Fisheye in order to add permanently ('p') the key to the SVN cache:

 <FishEye Installation Directory>/lib/svn/jsvn --username USER --password PASS info svn+ssh://

This should lead to the following output:

Authentication realm: svn+ssh://
Password for '' (leave blank if you are going to use private key): 
Port number for '' [22]: 
The '' server's key fingerprint is:
If you trust this host, enter 'p' to add the key to the SVN cache and carry on connecting.
If you want to carry on connecting just once, without adding the key to the cache, type 't'.If you do not trust this host, type 'R' to abandon the connection.
(R)eject, accept (t)emporarily or accept (p)ermanently? p
ATTENTION! Your password for authentication realm:
can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
Store password unencrypted (yes/no)? no
Path: code
URL: svn+ssh://
Repository Root: svn+ssh://
Repository UUID: 76719130-f504-4f65-a476-78dc41affe4c
Revision: 1
Node Kind: directory
Last Changed Author: dduck
Last Changed Rev: 1
Last Changed Date: 2012-08-29 14:44:49 +0200 (Wed, 29 Aug 2012)

For more information on JSVN usage, please refer to this page.

Last modified on Nov 2, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.