Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Bamboo permission denied error on cloning submodule via ssh

Hi Guys,

Can anyone help to find out the solution for cloning submodules in Bamboo as I am getting error :

Submodules cloning over ssh giving permission denied and not using the ssh key of main repo.

23-Aug-2022 06:54:27 Repository not found
23-Aug-2022 06:54:27 The requested repository does not exist, or you do not have permission to access it.
23-Aug-2022 06:54:27 fatal: Could not read from remote repository.
23-Aug-2022 06:54:27 Please make sure you have the correct access rights
23-Aug-2022 06:54:27 and the repository exists.

1 answer

0 votes
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 23, 2022 • edited

Hello @Jyoti Khera, Welcome to Atlassian Community!

The best way to deal with submodules is upgrading Bamboo to at least 8.1.1 (we recommend 8.1.9 or 8.2.5 due to recent CVE) as documented on this bug:

You can find some alternative strategies in the following KB articles too:

Sincerely,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Hi @Eduardo Alvarenga ,

We have upgraded the Bamboo to 8.2.5 .

Could you please guide to next step. How to clone submodule and avoid "permission denied" error during fetch over ssh.

Thanks

Jyoti Khera

Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 31, 2022

Hello @Jyoti Khera

You need to select "Use submodules" under "Advanced options" on your Repository settings. That will also enable the "SSH key applies to submodules" option which you can leave on to use the same SSH key you are using on the main repository.

More information:

Cheers,

 

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Hello @Eduardo Alvarenga 

This does not work for me. I am using Bamboo 9.2.

 

Thanks,

Bhagya

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events