Hello we have a team account with multiple repos and multiple devs.
We have installed SSH keys for each of our devs from our account settings.
We granted access to the devs to designated repos.
However, when Devs connect via GitBash they can push to any of the repos inside the team account.
If we install the SSH keys from each of the dev's accounts then their connection is denied.
If we install the SSH keys at the repo level, the dev's connection is denied.
How can we configure this so that Devs can only clone/push/pull from their assigned repos?
Hello @Algotech,
I probably misunderstood some bits but I think you're using a wrong mechanism to control access. What you need to do is not to configure SSH keys but rather create necessary user groups, assign users to them, and then set team or repository-level permissions for those user groups.
SSH key is something each dev should create and register with Bitbucket as a way to authenticate with it. There're other ways they can make changes in a repo, which don't involve SSH keys at all. They can use HTTPS to authenticate with Git or they can use Bitbucket UI to do some simple actions like editing single files.
Hope this helps. Sorry if I got your question wrong, please let me know if this is the case.
Cheers,
Daniil
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.