Created
June 4, 2019 08:42
-
-
Save pictolearn/eff1aa86657f64fea5b3ef45dfdd7e0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a new SSH Key | |
# -t stands for ‘type’ and rsa is type of encryption | |
# -C is for comment | |
ssh-keygen -t rsa -C “your-email-address” | |
# The above command shows rs key pair | |
# Enter file in which to save the key (/c/Users/your_username/.ssh/id_rsa) ~/.ssh/id_rsa_<your-file-name> | |
# make sure you have the file | |
ls -al ~/.ssh | |
# Go to github, copy the contents of <your-file-name>.pub to the SSH key | |
# Add the ney key to your list | |
ssh-add ~/.ssh/id_rsa_<your-file-name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment