Update gh CLI steps in adding-a-new-ssh-key-to-your-github-account.md#11722
Update gh CLI steps in adding-a-new-ssh-key-to-your-github-account.md#11722lecoursen merged 7 commits intogithub:mainfrom
Conversation
The GitHub CLI does not allow you to add an ssh key unless you are authenticated with your GitHub account. The `gh auth login` command not only authenticates you but also gives prompts to add your ssh key to your account. This PR amends the GitHub CLI portion with the `gh auth login` path. This may be useful to someone coming to this page for the first time who has not already installed the gh CLI and will do so as part of this flow and will then need to authenticate.
|
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
Automatically generated comment ℹ️This comment is automatically generated and will be overwritten every time changes are committed to this branch. The table contains an overview of files in the Content directory changesYou may find it useful to copy this table into the pull request summary. There you can edit it to share links to important articles or changes and to give a high-level overview of how the changes in your pull request support the overall goals of the pull request.
|
|
@michelleN |
lecoursen
left a comment
There was a problem hiding this comment.
Thanks @michelleN. Since the focus of this article is on adding an SSH key, let's mention the prerequisite of authenticating but link out for further details rather than including them here. I'll apply a suggestion to do that and then merge. 🎉
|
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡ |
Why:
The GitHub CLI does not allow you to add an ssh key unless you are authenticated with your GitHub account. The
gh auth logincommand not only authenticates you but also gives prompts to add your ssh key to your account. This PR amends the GitHub CLI portion with thegh auth loginpath. This may be useful to someone coming to this page for the first time who has not already installed the gh CLI and will do so as part of this flow and will then need to authenticate.Closes #11721
What's being changed:
Check off the following:
Writer impact (This section is for GitHub staff members only):