Skip to content

Commit dccecb4

Browse files
authored
Change id_rsa.pub to id_ed25519.pub
The https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent tutorial defaults to using `ed25519` via `$ ssh-keygen -t ed25519 -C "your_email@example.com"`however this page still tells the user to copy the content of the `id_rsa.pub` file.
1 parent 88cb8cb commit dccecb4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

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

2626
```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
2929
```
3030

3131
{% tip %}

0 commit comments

Comments
 (0)