Skip to content

Instantly share code, notes, and snippets.

@DNI9
Created November 27, 2020 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DNI9/a841f5b93573e2ae86192757c1f277fc to your computer and use it in GitHub Desktop.
Save DNI9/a841f5b93573e2ae86192757c1f277fc to your computer and use it in GitHub Desktop.

Setup SSH for Github

Check for existing SSH keys by ls -al ~/.ssh

Generating SSH keys

ssh-keygen -t ed25519 -C "your_email@example.com"

Adding to ssh-agent

ssh-add ~/.ssh/id_ed25519

Adding to github account

copy content from ~/.ssh/id_ed25519.pub , add to settings > ssh keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment