Skip to content

Commit 69a9822

Browse files
authored
repo sync
2 parents 21065c5 + 06700d3 commit 69a9822

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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)