O
O
Optimus2017-03-12 10:16:38
git
Optimus, 2017-03-12 10:16:38

How to add a key for github?

I create the keys:
ssh-keygen -t rsa -C "[email protected]"
I open the .PUB file of the key, I copy everything from it, I paste it in my github account I
start the agent:
eval `ssh-agent -s`
And then I can’t do the ssh-add command, no matter how I try the answer always:
Error loading key "E:/backend/gittest/rsa" : Is a directory or the path is just different
c6cdcbe79f74405c85f018e49e2c62d4.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
illuzor, 2017-03-12
Pyan @marrk2

You need to put the id_rsa file in the C:\Users\user\.ssh
folder . Nothing else needs to be done. He'll pick himself up.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question