@@ -31,8 +31,6 @@ NOTE: GitHub previously used "master", but is now using "main" as the name for t
3131
3232---
3333
34- ## Teamwork
35-
3634* In this session you will be working in small groups of 2-4 people.
3735* Each group will go to a Zoom break-out room and work together there.
3836* You will be using GitHub for the remote repository.
@@ -529,9 +527,6 @@ In this exercise you create SSH keys and upload to GitHub. Then test that it wor
529527
5305282. You will be asked for a file to save the key. Unless you have an existing SSH key, accept the default.
5315293. Enter a passphrase and repeat it.
532-
533- ---
534-
5355304. Add the key to the ssh-agent. Here we assume the default name:
536531```
537532$ eval "$(ssh-agent -s)"
@@ -542,22 +537,18 @@ $ ssh-add ~/.ssh/id_rsa
542537
543538---
544539
545- <!-- .slide: style="font-size: 28px;" -->
546-
547540**Adding the SSH key to GitHub**
548541
5495421. On GitHub, click your avatar in the top right corner and pick "Settings".
5505432. Choose "SSH and GPG keys"
5515443. Click "Add new SSH key"
5525454. Add a descriptive label for the key in the "Title" field. In the key field you paste the content of the key (~/.ssh/id_rsa.pub)
553- 
546+ 
5545475. Click "Add SSH key"
5555486. Confirm your GitHub password if you are prompted for it.
556549
557550---
558551
559- <!-- .slide: style="font-size: 28px;" -->
560-
561552**Testing the SSH keys**
562553
5635541. Open a terminal
@@ -578,8 +569,6 @@ Hi bbrydsoe! You've successfully authenticated, but GitHub does not provide shel
578569
579570## Third exercise, clone, push, pull
580571
581- <!-- .slide: style="font-size: 28px;" -->
582-
583572We now have SSH keys set up. Time to test it from your own machine:
584573
5855741. Clone the repository, using the SSH address (click CODE on the GitHub repository and pick SSH). You will be asked for the key passphrase.
0 commit comments