Skip to content

Commit 2702c31

Browse files
authored
Merge branch 'main' into patch-3
2 parents 49f050f + c265815 commit 2702c31

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

content/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@ To include a title for the new key, use the `-t` or `--title` flag.
149149
gh ssh-key add <em>key-file</em> --title "personal laptop"
150150
```
151151

152+
If you generated your SSH key by following the instructions in "[Generating a new SSH key](/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)", you can add the key to your account with this command.
153+
154+
```shell
155+
gh ssh-key add ~/.ssh/id_ed25519.pub
156+
```
157+
152158
{% endcli %}
153159

154160
{% ifversion fpt or ghec %}

0 commit comments

Comments
 (0)