Last active
April 18, 2020 01:24
-
-
Save donrestarone/23850111d1e0343e80c7fe16b5586a90 to your computer and use it in GitHub Desktop.
a simple script for generating rsa keypair for github on your raspberry pi
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
ssh-keygen -t rsa -b 4096 -C "yourGithubEmailHere" | |
# hit enter when it asks where to save. This will save it to the default location which is /home/pi/.ssh | |
cat /home/pi/.ssh/id_rsa.pub | |
#copy the output of the above and paste it to Github's SSH keys section of your account |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment