Reputation: 3247
I am following the GitHub guide on generating SSH keys. I'm on step 3, sub-step 5
Paste your key into the "Key" field.
How exatly do i find the key? Where do I go to open to then paste it onto GitHub?
I have tried this
$ open ~/.ssh/id_rsa.pub
Couldn't get a file descriptor referring to the console
$ ssh-rsa
ssh-rsa: command not found
How do I open the .ssh
file?
Upvotes: 0
Views: 3231
Reputation: 1323573
You paste the content of the public key ( cat ~/.ssh/id_rsa.pub
) you generated in step 2
ssh-keygen -t rsa -C "[email protected]"
That produced ~/.ssh/id_rsa
(private key) and ~/.ssh/id_rsa.pub
(the public key to copy on your GitHub account).
Upvotes: 8