Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

We use LDAP based accounts to log in to the BB GUI - but can't seem to use these accounts for GIT?

Hi Folks!

Is it possible you can advise me on a BB issue we're having?

We use SSH with passwordless key to connect to GIT on our BB server.

This only seems to work when the BB account is created using the User Directory 'BitBucket Internal Directory'.

However we have LDAP set up for our logins - which works fine to log in to the GUI - but when I attempt to get SSH passwordless working using an LDAP account it will not work.

If I then recreate the same account using BB internal directory, I can eg git clone using SSH.

Any advice please?

1 answer

Eventually I solved this problem. 

The order of User Directories in Settings needs to have the local authentication first, then the LDAP authentication.

Then a user can both use the SSH GIT connection, and log in to the GUI.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,878 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you