Skip to content

Commit 06700d3

Browse files
authored
Merge pull request #1355 from ryanlail/patch-1
Update to ed25519 from rsa
2 parents 5a89a5d + 2a2b2f7 commit 06700d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ After adding a new SSH key to your {% data variables.product.product_name %} acc
5454
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.
5555

5656
```shell
57-
$ clip < ~/.ssh/id_rsa.pub
58-
# Copies the contents of the id_rsa.pub file to your clipboard
57+
$ clip < ~/.ssh/id_ed25519.pub
58+
# Copies the contents of the id_ed25519.pub file to your clipboard
5959
```
6060

6161
{% tip %}
@@ -88,8 +88,8 @@ After adding a new SSH key to your {% data variables.product.product_name %} acc
8888
$ sudo apt-get install xclip
8989
# Downloads and installs xclip. If you don't have `apt-get`, you might need to use another installer (like `yum`)
9090

91-
$ xclip -selection clipboard < ~/.ssh/id_rsa.pub
92-
# Copies the contents of the id_rsa.pub file to your clipboard
91+
$ xclip -selection clipboard < ~/.ssh/id_ed25519.pub
92+
# Copies the contents of the id_ed25519.pub file to your clipboard
9393
```
9494
{% tip %}
9595

0 commit comments

Comments
 (0)