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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Login failed due to incorrect login credentials or method

I have created the SSH key. That works. But a push is failing:

$ git push --set-upstream origin master
Password for '': 
remote: Login failed due to incorrect login credentials or method.
remote: If you are unsure of which login details or login method to use, visit:
fatal: Authentication failed for ''

The support docs don't mention this error and if the account password doesn't work what else is there?



2 answers

1 accepted

29 votes
Answer accepted

I hadn't created an App Password at Account > Personal settings > App password. Once I had created one of these, and used that password the git push worked.

It might help if pages like had a list of related reading linking to articles like

It helps a lot! Thank you very much!

Like Radheshyam Yadav likes this

Yep, it works. Thanks a lot!

Like Willian Tetsuo Kaneta likes this

it helped, thanks

This is scary.  2 days attempting the SSH key and came across this post and in 15 minutes had SourceTree and CLI running.  

Concerning that the suggested token and ssh key has this problem for some accounts. 

This helped so much @alpirrie

0 votes
Moses Thomas
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 19, 2022

@ovusense  If you are using SSH, have you configured SSH keys on Bitbucket Application ?

Same problem @ovusense .  I get this after a successful SSH key configuration.  I even ran a successful: 

% ssh -T

% authenticated via ssh key.

 % You can use git to connect to Bitbucket. Shell access is disabled

Did you solve this issue with apps like Fork, SourceTree, etc.? I think there is a SSH problem with running both github and bitbucket that I am not seeing right now. 

Like Yair Reynaldo likes this

i had the same problem.

to be able to clone using git, you should use app password and not your account password.

note: to get app password, login to your bitbucket account > click settings on top right > click personal bitbucket settiings > on the left naviigation click app password


create app password with relevant permissions, an app password string will be generated for you.

use this app password for your git logins

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events