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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,358 views 26 12
Join discussion

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