GitHub: Add SSH Key - maple-dev-team/docs GitHub Wiki

1. $ cd ~/.ssh
2. $ ssh-keygen -t ed25519 -C "[email protected]"

Follow the prompts:

    a. > Generating public/private ed25519 key pair.
    b. Enter a file in which to save the key (/home/you/.ssh/id_ed25519): [Press enter]
    c. Enter passphrase (empty for no passphrase): [Type a passphrase]
    d. Enter same passphrase again: [Type passphrase again]

3. $ eval "$(ssh-agent -s)"
4. $ ssh-add ~/.ssh/id_ed25519
5. $ cat ~/.ssh/id_ed25519
6. Copy the key from the terminal and add it to your GitHub (Settings-> SSH and GPG keys-> New SSH Key)

Extra Reference

    https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account
⚠️ **GitHub.com Fallback** ⚠️