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

Update adding-a-new-ssh-key-to-your-github-account.md #1683

Merged
merged 3 commits into from
Dec 2, 2020
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 @@ -19,9 +19,9 @@ After adding a new SSH key to your {% data variables.product.product_name %} acc

{% mac %}

1. Copy the SSH key to your clipboard.
1. Copy the SSH public key to your clipboard.

If your SSH key file has a different name than the example code, modify the filename to match your current setup. When copying your key, don't add any newlines or whitespace.
If your SSH public key file has a different name than the example code, modify the filename to match your current setup. When copying your key, don't add any newlines or whitespace.

```shell
$ pbcopy < ~/.ssh/id_ed25519.pub
Expand Down Expand Up @@ -49,9 +49,9 @@ After adding a new SSH key to your {% data variables.product.product_name %} acc

{% windows %}

1. Copy the SSH key to your clipboard.
1. Copy the SSH public key to your clipboard.

If your SSH key file has a different name than the example code, modify the filename to match your current setup. When copying your key, don't add any newlines or whitespace.
If your SSH public key file has a different name than the example code, modify the filename to match your current setup. When copying your key, don't add any newlines or whitespace.

```shell
$ clip < ~/.ssh/id_ed25519.pub
Expand Down Expand Up @@ -80,9 +80,9 @@ After adding a new SSH key to your {% data variables.product.product_name %} acc

{% linux %}

1. Copy the SSH key to your clipboard.
1. Copy the SSH public key to your clipboard.

If your SSH key file has a different name than the example code, modify the filename to match your current setup. When copying your key, don't add any newlines or whitespace.
If your SSH public key file has a different name than the example code, modify the filename to match your current setup. When copying your key, don't add any newlines or whitespace.

```shell
$ sudo apt-get install xclip
Expand Down