U
U
Underdoggit2019-01-19 18:27:01
git
Underdoggit, 2019-01-19 18:27:01

Doesn't let me pair with a private key on github?

Hello everyone, I created ssh keys for github for a new project, added a public key to github, I create it in the git folder in the config project where the path to the private key for handshaking with git is indicated. But it gives an error:
[email protected]: Permission denied (publickey).
5c43418572ed0764125579.png
The path is correct, maybe I missed something? PS: The git itself is locally installed in the project.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xoo, 2019-01-19
@Underdoggit

Is that how it works?

eval `ssh-agent`
ssh-add path_to_key

Check if ssh-agent is running Is the key added
ssh-add -l

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question