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

1 answer

1 accepted

1 vote
Accepted answer

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.



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 Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

436 views 6 9
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