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

asking for password eternally even though i already configured an ssh key or oauth(ed) it.

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote
Error: Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for ''


worse thing is i feed it the password and doesnt give a damm it just wants me to spend the rest of my life inputting a password there twice .  forever.


it did the same with oauth .

1 answer

0 votes
minnsey Atlassian Team Mar 19, 2019


This may not be the cause but, assuming you are on Windows, can you make sure you are running Git for Windows 2.20.1, this contains the latest Git Credential Manager for Windows, GCM, which contains fixes for some authentication issues in earlier releases.

I'd then suggest opening Windows Credential Manager and deleting all the 'git:' prefixed entries. This will remove any old/bad entries.

Then try a bit pull/push/fetch you should be prompted by a GUI dialog to enter your credentials. Assuming that works they should then be stored and available for re-use by all Git actions.

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,200 views 5 14
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