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

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/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.