Created
June 7, 2023 15:48
-
-
Save kanelv/4f67b775753b45a6fbbd079cedd4cd39 to your computer and use it in GitHub Desktop.
This file contains 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
### STEP 1. Generate a new SSH key by the command below | |
```bash | |
ssh-keygen -t ed25519 -C "your_email@example.com" | |
``` | |
### STEP 2. Copy the SSH public key to your clipboard by the command below | |
```bash | |
# macOS | |
pbcopy < ~/.ssh/id_ed25519.pub | |
``` | |
## Refs | |
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent | |
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account?platform=mac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment