Skip to content

Commit 3587fa9

Browse files
authored
Merge pull request #22811 from github/repo-sync
repo sync
2 parents e919d50 + 83cc79d commit 3587fa9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ After adding a new SSH key to your account on {% ifversion ghae %}{% data variab
135135

136136
{% data reusables.cli.cli-learn-more %}
137137

138+
Before you can use the {% data variables.product.prodname_cli %} to add an SSH key to your account, you must authenticate to the {% data variables.product.prodname_cli %}. For more information, see [`gh auth login`](https://cli.github.com/manual/gh_auth_login) in the {% data variables.product.prodname_cli %} documentation.
139+
138140
To add an SSH key to your GitHub account, use the `ssh-key add` subcommand, specifying your public key.
139141

140142
```shell

0 commit comments

Comments
 (0)