Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

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