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

Richard Kuechler May 24, 2016

Hello everybody,

I'm trying to fetch the commits list from the server via the GUI. After the click on a Fetch button, I get the "Fetching All" progress bar, which seems to work, but not too efficient.

Full output says I'm supposed to add the key fingerprint to cache; to do that, I need to type "y" to console window. But for obvious reasons, I cannot enter "y" into console window, since there is no console. 

Here's the screenshot:

asdasd.png

Installed SourceTree version: 1.8.3.0

Thanks for the help in advance!

 

4 answers

1 accepted

2 votes
Answer accepted
Damien Braz May 24, 2016

Hi Richard,


Solution here


The workaround is simple: just get SourceTree to use Embedded Git and get it to trust the host:


And then change it back to System Git.

This should resolve the issue.


Best regards, Damien.

Richard Kuechler May 24, 2016

For some reason it doesn't help; I cannot see this window during the "Fetch" procedure. The situation is the same. 

Damien Braz May 24, 2016

Hmm... And, with this: http://screencast.com/t/uOsYnPwdL

Damien Braz May 24, 2016

This is a known issue with SourceTree, refering to https://jira.atlassian.com/browse/SRCTREEWIN-140, here is the solution:

Solution:

  • Open Command Prompt
  • "C:\Program Files (x86)\Atlassian\SourceTree\tools\putty\plink.exe" bitbucket.org

Computer:

  • Fresh install of Windows 10 Pro 64bit
  • SourceTree 1.8.2.11
  • Embedded git

I hope it will resolve your issue Richard! smile

Seth May 25, 2016

You can also just launch SourceTree's Terminal, and run "ssh <hostname>".

You don't need to actually have the ability to connect via SSH - the ssh software will check the key first, so you can accept it before the server decides whether you're allowed to connect.

Luka Bučić Jun 05, 2018

Latest Damien Braz solution with running plink.exe worked for me.
I used plink.exe in my installed version of SourceTree folder and instead of "bitbucket.org" I connected to my problematic server and was able to finally allow it.
After that all worked smoothly.

5 votes
Heiko Guckes I'm New Here Jan 22, 2019

For me, the trick was to switch from putty to open ssh in the general options.

2 votes
Jeffrey Brewster May 23, 2018

Not solved. None of this works.  
Trying embedded git, gets me the same result. (No prompt). (makes me question the integrity of this software; why would it work differently on different systems of the SAME OS?? :: (   ))


Trying the command line (with a different, correct, path to plink) asks me to "login as:" after which it tells me that there are no supported authentication methods.(FATAL).

Glad it is so painful to get this working on a brand-new, clean Win10 install....(great product! <-sarcasm intended)

2 votes
William Haack Jun 18, 2018

I am also stuck as Jeffery Brewster is.   

Trying the command line (with a different, correct, path to plink) asks me to "login as:" after which it tells me that there are no supported authentication methods.(FATAL).

???

Not sure what to do.

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...

413 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