You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have a valid id_rsa.pub ssh-key copied into my Bitbucket user settings. I can clone any top-level repo that I have access to.
I can also validate that my id_rsa.pub works by running:
ssh -vT firstname.lastname@example.org
Authenticated to bitbucket.org ([18.104.22.168]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
logged in as **REDACTED**.
BUT when I clone a top-level repo with submodules and run:
git submodule update --init --recursive"
# I see many "Permission denied (publickey") messages to repos I also have permission to
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I can clone my submodules over ssh individually, NO PROBLEM. Just when the top level repo attempts to update all the submodules, it fails.
What is going on?
((( I do not want to use https for submodules. )))
Hi Bartosz! Are you still experiencing this issue? If you are, please give us more info so we can continue helping you:
- Are you using Bitbucket Server or Cloud?
- Where are you cloning the repositories from? Where are you cloning them to?
I'm not the reporter but I have this issue. I'm using bitbucket cloud and cloning repositories to the my local e: drive.
git version 2.16.2.windows.1
cmd line: git clone --recurse-submodules email@example.com:orgname/reponame.git