Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect windows syntax & instructions fixed #30855

Merged
merged 2 commits into from
Jan 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ If you are a site administrator for {% data variables.location.product_location
{% windows %}

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

{% endwindows %}
Expand Down Expand Up @@ -166,7 +166,7 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav

{% data reusables.desktop.windows_git_bash %}

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:
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:

```powershell
# start the ssh-agent in the background
Expand All @@ -178,7 +178,7 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
{% data reusables.ssh.add-ssh-key-to-ssh-agent %}

```powershell
ssh-add /c/Users/YOU/.ssh/id_ed25519
ssh-add c:\Users\YOU\.ssh\id_ed25519
```

{% data reusables.ssh.add-public-key-to-github %}
Expand Down Expand Up @@ -258,7 +258,7 @@ If you are using macOS or Linux, you may need to update your SSH client or insta
{% windows %}

```shell
> Enter a file in which to save the key (/c/Users/YOU/.ssh/id_{% ifversion ghae %}ecdsa{% else %}ed25519{% endif %}_sk):[Press enter]
> Enter a file in which to save the key (c:\Users\YOU\.ssh\id_{% ifversion ghae %}ecdsa{% else %}ed25519{% endif %}_sk):[Press enter]
```

{% endwindows %}
Expand Down
Loading