Skip to content

Commit 3c57552

Browse files
committed
remove $ prompt from bash commands for authentication lesson
1 parent 0084cfd commit 3c57552

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lessons/git/github-authentication.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Before we create a new SSH key,
2424
let's check if you already have one on your system.
2525
Open a terminal and type
2626
```
27-
$ ls ~/.ssh
27+
ls ~/.ssh
2828
```
2929

3030
GitHub supports three types of keys.
@@ -45,7 +45,7 @@ proceed to the next section.
4545
To create a new SSH key,
4646
type the following into a terminal:
4747
```
48-
$ ssh-keygen -t ed25519 -C "YOUR EMAIL"
48+
ssh-keygen -t ed25519 -C "YOUR EMAIL"
4949
```
5050
The `-t` flag specifies the type of key to create;
5151
in this case,
@@ -56,7 +56,7 @@ Follow the prompts and enter a passphrase for the key.
5656

5757
Check the contents of your **.ssh** directory (which will now exist if it didn't before):
5858
```
59-
$ ls ~/.ssh
59+
ls ~/.ssh
6060
id_ed25519 id_ed25519.pub
6161
```
6262
You now have an SSH key pair (private, public).
@@ -75,7 +75,7 @@ we need to add the public key to GitHub.
7575
Start by copying the public key.
7676
Print the key to the terminal with `cat`:
7777
```
78-
$ cat ~/.ssh/id_ed25519.pub
78+
cat ~/.ssh/id_ed25519.pub
7979
ssh-ed25519 AA4WC3NzqC45ZD81NTR5AQAAIBbFO9USDsVFLRIiBJ9Y6wJil4AFrW5ysRrGNCd5wDvy [email protected]
8080
```
8181
then select the text and copy it.
@@ -96,7 +96,7 @@ That's it!
9696

9797
To check that GitHub has your SSH key, type the following in a terminal:
9898
```
99-
99+
100100
```
101101
You'll be prompted to enter the passphrase for your key.
102102

0 commit comments

Comments
 (0)