HowTo SSH Keys

From sigrok
Revision as of 17:25, 2 April 2023 by Knarfs (talk | contribs)
Jump to navigation Jump to search

Generate and deploy SSH Keys to Github

Generate the keys

  1. Generate key

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

  1. Name the file id_github_sigrokorg and store it somewhere in your home directory (e.g. /home/frank/.ssh)
  2. Don't enter a password
  3. You now have two files: id_github_sigrokorg (the private key) and id_github_sigrokorg.pub (the public key)

Add key to the destination repository (e.g. libsigrokflow)

  1. Go the the github page for of the repository in question (e.g. https://github.com/sigrokproject/libsigrokflow)
  2. Click on "Settings" (repository settings)

Destination settings.png

  1. Click on "Deploy keys"

Destination deploy keys.png