Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
This bit:
|
Host *.{% ifversion ghes or ghae %}HOSTNAME{% else %}github.com{% endif %} |
What part(s) of the article would you like to see updated?
The instructions say that you should edit ~/.ssh/config and add this to it:
Host *.github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
I tried that, but when I ran git clone git@github.com:simonw/sqlite-utils I still had to enter my password.
When I changed it to this my command worked correctly as expected, without asking for my password:
Host github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
Additional information
No response
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
This bit:
docs/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md
Line 128 in 5c6e715
What part(s) of the article would you like to see updated?
The instructions say that you should edit
~/.ssh/configand add this to it:I tried that, but when I ran
git clone git@github.com:simonw/sqlite-utilsI still had to enter my password.When I changed it to this my command worked correctly as expected, without asking for my password:
Additional information
No response