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

Bamboo Github Enterprise Permission denied (publickey)

I have installed Bamboo on a local machine and I trying to integrate it with Github Enterprise. I've done with the following:

1. Added trusted keys for Github Enterprise URL

2. Created shared credentials for SSH

3. Used Linked Repositories (Test Connection returns "Connection Successful")

But when I fetch my repo using my build plan, I get the following error:

 

fatal: clone of 'git@<url>/repo.git' into submodule path '<path to local bamboo>/xml-data/build-dir/DEV-DEV-JOB1/...'failed
Failed to clone '<repo>' a second time, aborting
Cloning into '<path to local bamboo>/xml-data/build-dir/DEV-DEV-JOB1/...'...
Warning: Permanently added '<github url + IP>' (ECDSA) to the list of known hosts.
git@<github url>: Permission denied (publickey).

 

The repo has submodules. (I have enabled that in the repository settings - Advanced Options - Use submodules)

 

I tried cloning the repository outside bamboo on the same machine (same SSH keys) and that works perfectly well.

 

Anything else I need to do to get this to work?

 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

1,417 views 2 7
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