Skip to content

SSH keys set up but GitHub still asks for password #23171

Answered by byrneh
balabin asked this question in New to GitHub
Discussion options

You must be logged in to vote

Hi @balabin
A common mistake is using the wrong URL, as this actually determines the authentication mechanism is used. So whether a local configured SSH key is used, or a prompt for username/token or their local credential manager cached values.
You can only push to two types of URL addresses:
An HTTPS URL like https://github.com/user/repo.git
An SSH URL, like git@github.com:user/repo.git
I cannot see from your question what URL format you have used, but worth checking.

It not, it sounds like your configuration is wrong, there are excellent step by step instructions in GitHub docs that can be followed, on previous experience working with other users problems following these explicitly has…

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@airtower-luna
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants