What should be my SSH GitHub key?

I'm getting started with github and I have no idea what I'm doing.

What is an SSH key? What should I set as a key? Will I fix everything?

EDIT:

I'm on OSX

+3
source share
3 answers

If you have Linux (or msysGit or Cygwin ...):

  • Go to catalog ~/.ssh
  • Check if you have this file: id_rsa.pub
    • If not, create it using this command: ssh-keygen -C "name@email.com" -t rsa
  • Get the contents of this file ( cat id_rsa.pub) and simply copy and paste into GitHub.

That's all.

+6
source

To answer your first question:

To this end, think of SSH as a secure communication method using cryptography.

GitHub , . SSH , " " "".

, , , , , . , , , .

, , . GitHub - , . ( , .) GitHub , , . GitHub , .

, , , .

+7

Linux ssh-keygen OSX . Adriano . pub, .

0

Source: https://habr.com/ru/post/1781909/


All Articles