Summary and Setup
This is a new lesson built with The Carpentries Workbench.
Prerequisite
In this lesson we use Git from the Unix Shell. Some previous experience with the shell is expected, but isn’t mandatory.
Computer
Participants must work on a computer with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) on which they have administrative privileges.
Software Setup
To participate in this workshop, you will need to prepare the following (if you haven’t already):
Setup GitHub
You will need an account for GitHub to follow episodes 7, 8, 9 in this lesson.
- To sign up for an account, navigate to https://github.com/ and follow the prompts.
- Verify your email address.
- Configure GitHub authentication.
You must authenticate before you can access certain resources on GitHub. Each way of accessing GitHub supports different authentication method. For example, you can authenticate with GitHub via the command line using Secure Shell Protocol (SSH) or you can authenticate with GitHub via browser using two-factor authentication (2FA). In our lesson we shall use both.
About passphrases for SSH keys
With SSH keys, if someone gains access to your computer, the attacker can gain access to every system that uses that key. To add an extra layer of security, you can add a passphrase to your SSH key, however it will require to enter passphrase every time. It is possible to avoid entering the passphrase every time you connect by means of securely saving your passphrase in the SSH agent. We recommend not dealing with passphrases in the scope of this lesson.
Refer to the GitHub documentation for more details about authentication.
Confirm that everything works
You should now be able to open a terminal window and execute the following commands:
Github access & SSH connection
which will return:
Hi [username]! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
If something does not work
Follow the corresponding setup instructions. If you still need help, send us an email.