Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Authentication and authorization from my local


Hi Team,

I am using Cloud version of Bitbucket and having issues cloning git hub repo from our project facing the below error.

Password for '': 

remote: Invalid username or password

fatal: Authentication failed for ''


I am on MacOS and flowed the below document for setting it up.

Please suggest if there is any other way to authenticate from my local.


1 answer

Hi @ashwinvodnala ,

I use the ssh-key authentication.

Please follow the next steps to MacOS.

1. Open terminal and execute "ssh-keygen" (only press "enter" in each step)

2. execute ~/.ssh/ then copy all text from "ssh-rsa AAAAB3N...."

3. Open BitBucket and select "Personal Settings" and after select "SSH Keys"

Screen Shot 2021-07-30 at 16.03.20.png

4. Enter the "Label" and "Key" from step 2

Screen Shot 2021-07-30 at 16.04.09.png

5. Return to terminal on MacOS and execute

5.1. eval $(ssh-agent)

5.2 ssh-add ~/.ssh/

6. for check execute "ssh -T"


After the you can use all commands git only with "<path_repo>/<repo>.git


Please, any doubt you can read:

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,158 views 2 9
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