Skip to content

Commit

Permalink
Moves windows msg earlier in document
Browse files Browse the repository at this point in the history
  • Loading branch information
BlakeFreer committed Nov 2, 2024
1 parent fc05030 commit 1df6880
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/docs/tutorials/ssh-signing.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ This tutorial will guide you through setting up SSH keys and commit signing for
ssh-keygen -t ed25519 -C "[email protected]"
```

??? Failure "Windows: `ssh-keygen` not recognized"

Older versions of Windows do not include SSH so it must be installed separately.

1. Open the __Settings__ app. Go to __System__ then __Optional Features__.
2. Click __Add a feature__ and search for "OpenSSH."
3. Install the feature. Restart your computer.
4. Add the OpenSSH directory to your PATH.

The default location is `C:\Windows\System32\OpenSSH`

Open a new terminal. You should be able to execute `ssh-keygen` and other `ssh` commands.

Save to the default location `c:/Users/YOU/.ssh/id_ed25519` and do not enter a passphrase. This will allow you to use the key without entering a password every time you push to GitHub.

Continue with the following commands:
Expand Down Expand Up @@ -57,19 +70,6 @@ Open another terminal to test your connection to GitHub by entering the followin
ssh -T [email protected]
```

??? Failure "Windows: `ssh` not recognized"

Older versions of Windows do not include SSH so it must be installed separately.

1. Open the __Settings__ app. Go to __System__ then __Optional Features__.
2. Click __Add a feature__ and search for "OpenSSH."
3. Install the feature. Restart your computer.
4. Add the OpenSSH directory to your PATH.

The default location is `C:\Windows\System32\OpenSSH`

Open a new terminal. You should be able to execute `ssh`.

Type "yes" when it asks if you want to continue connecting.
You should see a message like "Hi username! You've successfully authenticated, but GitHub does not provide shell access."

Expand Down

0 comments on commit 1df6880

Please sign in to comment.