SSH configuration¶
We strongly suggest to install our librairies using the SSH protocol. The entire procedure is described on this page . We summarize herebelow the main steps:
Note
We assume you don't have an existing SSH key pair in the .ssh folder.
- Create a new SSH key and follow the instructions:
ssh-keygen -t ed25519 -C "your_email@example.com"
- Modify your
~/.ssh/config
and add the following lines:Host github.com AddKeysToAgent yes UseKeychain yes ForwardAgent yes IdentityFile ~/.ssh/id_ed25519
- Add your SSH private key to the ssh-agent:
eval `ssh-agent` ssh-add --apple-use-keychain ~/.ssh/id_ed25519
- Add the SSH public key to GitHub.
- Test your connection
ssh -T git@github.com
Now, you can clone any repository using ssh:
git clone git@github.com:ULB-Metronu/georges-core.git