Skip to content

Instantly share code, notes, and snippets.

@shahali007
Created April 1, 2022 04:40
Show Gist options
  • Select an option

  • Save shahali007/d6c3e99b5bdea6a58bd53fddcbfe3dc1 to your computer and use it in GitHub Desktop.

Select an option

Save shahali007/d6c3e99b5bdea6a58bd53fddcbfe3dc1 to your computer and use it in GitHub Desktop.
generate ssh-rsa
ssh-keygen -t ed25519 -C "your_email@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub
// for more information: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment