Create and Register a new SSH on Github

It only requires three steps

1 Create a new SSH key

ssh-keygen -o -t rsa -C “email@example.com”

2 Copy the content

Just check the output of the first command, it would add a path of the ssh key .pub file, now just copy t…


This content originally appeared on DEV Community and was authored by Ariel Mejia

It only requires three steps

1 Create a new SSH key

ssh-keygen -o -t rsa -C "email@example.com"

2 Copy the content

Just check the output of the first command, it would add a path of the ssh key .pub file, now just copy the content:

pbcopy < /Users/<your-user-name>/.ssh/id_rsa.pub

3 Register a new ssh key in GitHub

You can add the content of the key in the form of this URL

https://github.com/settings/ssh/new

it is done... happy coding!


This content originally appeared on DEV Community and was authored by Ariel Mejia


Print Share Comment Cite Upload Translate Updates
APA

Ariel Mejia | Sciencx (2024-08-28T22:46:24+00:00) Create and Register a new SSH on Github. Retrieved from https://www.scien.cx/2024/08/28/create-and-register-a-new-ssh-on-github/

MLA
" » Create and Register a new SSH on Github." Ariel Mejia | Sciencx - Wednesday August 28, 2024, https://www.scien.cx/2024/08/28/create-and-register-a-new-ssh-on-github/
HARVARD
Ariel Mejia | Sciencx Wednesday August 28, 2024 » Create and Register a new SSH on Github., viewed ,<https://www.scien.cx/2024/08/28/create-and-register-a-new-ssh-on-github/>
VANCOUVER
Ariel Mejia | Sciencx - » Create and Register a new SSH on Github. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/28/create-and-register-a-new-ssh-on-github/
CHICAGO
" » Create and Register a new SSH on Github." Ariel Mejia | Sciencx - Accessed . https://www.scien.cx/2024/08/28/create-and-register-a-new-ssh-on-github/
IEEE
" » Create and Register a new SSH on Github." Ariel Mejia | Sciencx [Online]. Available: https://www.scien.cx/2024/08/28/create-and-register-a-new-ssh-on-github/. [Accessed: ]
rf:citation
» Create and Register a new SSH on Github | Ariel Mejia | Sciencx | https://www.scien.cx/2024/08/28/create-and-register-a-new-ssh-on-github/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.