Closed
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
The Mac portion of this article, specifically Adding your ssh key to the ssh agent, needs to be fixed.
Currently, the example for adding to ~/.ssh/config
reads as:
Host *.github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
However, this does not work. Using Host *.github.com
results in a Permission denied (publickey)
error.
Once adjusted to Host github.com
it works. The documentation does have a page for that error, which I used when troubleshooting the issue, but the page does not list this as one of the potential causes.
Expected outcome: Change the example from Host *.github.com
to Host github.com
in order for it to work as expected and not result in errors.
Additional information
No response