Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication failed while cloning repository from bit bucket

Priya Sharma December 19, 2017

I am getting following authentication failed error while cloning repo from bit bucket.

$ git clone https://sharpriy@bitbucket.org/humense-team/k2ls.git
  Cloning into 'k2ls'...
  Password for 'https://sharpriy@bitbucket.org':
  remote: Invalid username or password. If you log in via a third party service you   must ensure you have an account password set in your account profile.
 fatal: Authentication failed for 'https://sharpriy@bitbucket.org/humense-team/k2ls.git/'

I have given gmail password for authentication since i use to login to atlassian account using 'log in with gmail' option.

I have also added SSH key to bit bucket account and configured username and email address using following commands

git config --global user.name <username>

git config --global user.email <email address>

 

Please help me to resolve this issue

1 answer

1 accepted

7 votes
Answer accepted
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2017

Hi Priya,

For SSH try using

git clone git@bitbucket.org/humense-team/k2ls.git

 For username and password the error shows

If you log in via a third party service you must ensure you have an account password set in your account profile.

jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2017 edited

That command needs one small formatting fix:

git clone git@bitbucket.org:humense-team/k2ls.git
Like • 6 people like this
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2017

Thanks James!

Priya Sharma December 20, 2017

This worked!!!

Thank you very much Edwin and James.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events