Bitbucket/Stash Application integration, share key with Bamboo agents

We have an integration between Bamboo and Bitcbuket that allows us to use the bitcbuket/Stash server as a repo source for builds instead of just HTTP, however when a remote agent runs the build SSH there is an access denied message. Is there a way to get Bamboo to share the key pair created when adding the repo to a build via Bitbucket/Stash integration with the remote agents so they can checkout from the bitbucket repo?

This is the integration im refering to: https://confluence.atlassian.com/bitbucketserver/bamboo-integration-776639871.html

Thanks,
Chris

1 answer

0 votes

Hi Chris,

You shouldn't have to do anything special.  The only reason you should need to have the SSH keys inside the remote agent is if you're working with submodules per BAM-11369.

At this point if that is not the case, I would make sure SSH access is turned on in BitBucket per the Bamboo Integration knowledge base and try.

Finally, try with a local agent and see if that works.

Cheers,

Branden

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

634 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