Skip to content

SSH Key is not working #23215

Answered by byrneh
jxflx asked this question in New to GitHub
Jan 8, 2021 · 10 comments · 3 replies
Discussion options

You must be logged in to vote

@jesus1554, here are a couple of things to check
Within your local Git have you configured the correct URL for SSH as opposed to HTTPS protocol
SSH: git@github.com:jesus1554/sotano.git
HTTPS: https://github.com/jesus1554/sotano.git
Some further details here changing-a-remotes-url

You can still choose to use HTTPS, with a personal access token (instead of a password) if you prefer to having to use SSH.
If you use HTTPS you can create a token with the needed repository permissions, see creating-a-personal-access-token

Once you have a token, you can enter it instead of your password when performing Git operations over HTTPS.
For example, on the command line you would enter the following:
$ g…

Replies: 10 comments 3 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
0 replies
Answer selected
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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@airtower-luna
Comment options

@interglobalmedia
Comment options

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants