Skip to content

Commit deb114a

Browse files
authored
Merge pull request #48570 from github/repo-sync
Repo sync
2 parents 1ae129a + 4c0d5f1 commit deb114a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ If you are a site administrator for {% data variables.location.product_location
8383
{% windows %}
8484

8585
```powershell
86-
> Enter a file in which to save the key (/c/Users/YOU/.ssh/id_ALGORITHM):[Press enter]
86+
> Enter a file in which to save the key (c:\Users\YOU\.ssh\id_ALGORITHM):[Press enter]
8787
```
8888

8989
{% endwindows %}
@@ -166,7 +166,7 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
166166
167167
{% data reusables.desktop.windows_git_bash %}
168168
169-
1. In a new _admin elevated_ terminal window (PowerShell or CMD), ensure the ssh-agent is running. You can use the "Auto-launching the ssh-agent" instructions in "[AUTOTITLE](/articles/working-with-ssh-key-passphrases)", or start it manually:
169+
1. In a new _admin elevated_ PowerShell window, ensure the ssh-agent is running. You can use the "Auto-launching the ssh-agent" instructions in "[AUTOTITLE](/articles/working-with-ssh-key-passphrases)", or start it manually:
170170
171171
```powershell
172172
# start the ssh-agent in the background
@@ -178,7 +178,7 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
178178
{% data reusables.ssh.add-ssh-key-to-ssh-agent %}
179179
180180
```powershell
181-
ssh-add /c/Users/YOU/.ssh/id_ed25519
181+
ssh-add c:\Users\YOU\.ssh\id_ed25519
182182
```
183183
184184
{% data reusables.ssh.add-public-key-to-github %}
@@ -258,7 +258,7 @@ If you are using macOS or Linux, you may need to update your SSH client or insta
258258
{% windows %}
259259
260260
```shell
261-
> Enter a file in which to save the key (/c/Users/YOU/.ssh/id_{% ifversion ghae %}ecdsa{% else %}ed25519{% endif %}_sk):[Press enter]
261+
> Enter a file in which to save the key (c:\Users\YOU\.ssh\id_{% ifversion ghae %}ecdsa{% else %}ed25519{% endif %}_sk):[Press enter]
262262
```
263263
264264
{% endwindows %}

0 commit comments

Comments
 (0)