How do I allow multiple users to access my repository via SSH?

Hi I have been trying to figure out how to allow multiple users (my work colleagues) to access my repository (via git) using SSH authentication.

Maybe I am missing a step, but I honestly can’t figure it out for the life of me.


I have one bitbucket (repository) account I own, I would like to grant write access to 3 other individuals via SSH. So that when they use Git gui all they have to do is put in the simple password and the changes can be made to whatever part they are working on, is this such a difficult task? I’ve been trying for a week now and can’t figure it out!

Any help will be appreciated!

Much thanks,

-John M. Balzac

crypxtic@gmail.com

1 answer

1 accepted

This widget could not be displayed.

Hi John,

The best way to implement what you're describing is to:

  1. Get your three collaborators to sign up for BitBucket accounts and upload their public SSH keys.
  2. Assign each of their accounts 'WRITE' privileges for your repository in the Access Management section of the repository administration console.

And that's it! They should now be able to push changes directly to your repository over SSH.

cheers,

Tim

It's strange that I was struggling with this for so long! The solution was so simple... I think the problem I was running into was that I wasn't adding the SSH keys to MY account, but the repository as a Deploy Key. Didn't really learn the difference till a few days ago.

Appreciate your help Tim , you rock!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,319 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you