Generating SSH Key for Authentication
Video Tutorial
- Download this file to your
~/Downloads
directory.
- Execute the command below to change directories to
~/Downloads
.
- Execute the command below to ensure the newly downloaded
generate-ssh-key.sh
file can be executed
chmod u+x ./generate-ssh-key.sh
- Execute the command below to execute the newly downloaded
generate-ssh-key.sh
file.
./generate-ssh-key.sh MY_GITHUB_EMAIL
- replace
MY_GITHUB_EMAIL
with the email you used to create a github account.
- this command will copy the key to your clipboard, allowing you to paste it in the next step.
- Navigate to
https://github.com/settings/ssh/new
to paste the value from your clipboard to a newly generated key