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 'bitbucket.org' 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?

Thanks!

1 answer

https://jira.atlassian.com/browse/SRCTREEWIN-1610 For me it was the submodules, needed to run git submodule update.

Or

  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 git@bitbucket.org
    2. It will ask you if you whan to store key in cache, write Y.

 

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

709 views 0 4
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