Skip to content

Instantly share code, notes, and snippets.

@jasenmichael
Last active March 14, 2025 17:36
Show Gist options
  • Save jasenmichael/1f80523af785ac683b763ae3c9e8ddfb to your computer and use it in GitHub Desktop.
Save jasenmichael/1f80523af785ac683b763ae3c9e8ddfb to your computer and use it in GitHub Desktop.
add ssh key github
# https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
# sudo apt-get install xclip
xclip -selection clipboard < ~/.ssh/id_ed25519.pub
# add key
# https://github.com/settings/keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment