Server key not getting cached

I've used Sourcetree to setup a git repo on bitbucket. Everything on my end works fine but my friend who has a bit bucket account and admin access to the bitbucket repo is trying to connect using source tree as well to pull the files. He loads the private ssh key and goes to clone the server(recognizes url path fine) but when he goes to begin cloning he gets an error message stating the key for '' hasn't been cached yet. He clicks yes to accept the servers key but it just keeps spamming him to accept the key no matter how many times he accepts it.

This is the box that keeps popping up.

Error message

Does anyone know how to fix this?


1 answer For me it was the submodules, needed to run git submodule update.


  1. Open a DOS cmd window (cmd.exe or something similar)
  2. "cd" to where plink.exe is
  3. Run the command:
    1. plink.exe -v
    2. It will ask you if you whan to store key in cache, write Y.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

695 views 5 9
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