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

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!

 

1 answer

1 accepted

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.

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

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

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.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

267 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot