Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

547 views 6 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