You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,8 @@ After adding a new SSH key to your {% data variables.product.product_name %} acc
24
24
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.
25
25
26
26
```shell
27
-
$ pbcopy <~/.ssh/id_rsa.pub
28
-
# Copies the contents of the id_rsa.pub file to your clipboard
27
+
$ pbcopy <~/.ssh/id_ed25519.pub
28
+
# Copies the contents of the id_ed25519.pub file to your clipboard
29
29
```
30
30
31
31
{% tip %}
@@ -54,8 +54,8 @@ After adding a new SSH key to your {% data variables.product.product_name %} acc
54
54
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.
55
55
56
56
```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
59
59
```
60
60
61
61
{% tip %}
@@ -88,8 +88,8 @@ After adding a new SSH key to your {% data variables.product.product_name %} acc
88
88
$ sudo apt-get install xclip
89
89
# Downloads and installs xclip. If you don't have `apt-get`, you might need to use another installer (like `yum`)
0 commit comments