πΎGitHub
Accessing the remote repositories.
Git Repositories (GitHub)
Follow these steps on GitHub.
Create your ssh-key using:
2. Navigate to .ssh folder. When prompted to name the key, name it github_pz
3. Leave the password empty and press enter.
Your terminal will look similar to what is shown below if done correctly:
You will see two files stored in the location where you generated the file. Open both if you are not sharing your screen and you are in a secure environment. Become familiar with the difference between the private and public key. ONLY SHARE YOUR PUBLIC KEY!
4. Give your public key to the administrator to issue a CA for access to the repository.
5. Go to your own GitHub account and add the same public key.
Add files called allowed_signers
and config
to the ~/.ssh
directory and update permissions to limit to read/write for user only.
Add the following to that config file:
Start the SSH agent
Now add your private key to the SSH agent
Test if it was added with
Now add your user name and email to the git configuration (unless it's already set).
Once complete, test your login using
Last updated