Skip to content

Instantly share code, notes, and snippets.

@DNI9
Created November 27, 2020 09:54
Show Gist options
  • Select an option

  • Save DNI9/a841f5b93573e2ae86192757c1f277fc to your computer and use it in GitHub Desktop.

Select an option

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 "[email protected]"

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