It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

The server's host key is not cached in the registry

Simon G. Mar 14, 2016

Hi!

Here is the error I got when trying to push/pull/... from my source tree to my stash server:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.

There is nothing I can do to accept the key. There is a lot of topic dealing of the subject but none of the following solution solve my problem:

-https://confluence.atlassian.com/sourcetreekb/trust-a-server-s-host-key-when-no-button-is-available-to-trust-it-788731545.html: Switching from embedded or system git don't solve the problem. However, using embedded ar system git, without sourcetree works

- Using "plink -agent stash.local" don't ask me to valid the key.

Any idea of what could I do? is ther a solution to manually add the fingerprint in my registry? At least the problem will be solved...

1 answer

1 vote
Seth Mar 14, 2016

This bug report is tracking the issue where the solution in that KB article doesn't work. One of the comments also suggests a workaound: download putty and use it to attempt a connection.

https://jira.atlassian.com/browse/SRCTREEWIN-5014

Thanks, it works.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

371 views 0 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you