<aside> đź’ˇ Why Do We Need to Setup an SSH Key on Github?

In the past, whenever you wanted to push your local code to your remote repository, you had to enter your Github username and password to ensure as a security measure to make sure the right person was pushing to your remote repository.

This act of entering your username and password has been deprecated (is not longer in use) and has been replaced with SSH Keys, which is an alternate way to identify yourself that doesn't require you to enter you username and password every time

</aside>

Commands

Run from any directory

ssh-keygen -t ed25519 -C "[email protected]"

Then, run

cat PATH/TO/SSH/KEY.pub

It should look something like the following:

Screen Shot 2022-07-27 at 9.02.56 PM.png

You’ve successfully set up an SSH key for GitHub!

Back to the Rampup!

Project 1: First Webpage