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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.