-
-
Save Alfian878787/8c9e72b2e80d63392d357efb7c208329 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 |
Author
Alfian878787
commented
Mar 25, 2020
<script src="https://gist.github.com/Alfian878787/8c9e72b2e80d63392d357efb7c208329.js"></script>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment