Github: Difference between revisions
From DWIKI
mNo edit summary Tag: wikieditor |
m →Use ssh Tag: wikieditor |
||
| Line 7: | Line 7: | ||
=HOWTO= | =HOWTO= | ||
==Use ssh== | ==Use ssh== | ||
*[https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent Generating a new SSH key for a hardware security key] | |||
On github.com go to '''Settings->SSH and GPG keys''' | On github.com go to '''Settings->SSH and GPG keys''' | ||
'''Add key''': paste your public key | '''Add key''': paste your public key | ||
| Line 12: | Line 13: | ||
Host github.com | Host github.com | ||
IdentityFile ~/.ssh/id_ed25519 | IdentityFile ~/.ssh/id_ed25519 | ||
=FAQ= | =FAQ= | ||
Revision as of 11:27, 9 October 2025
Links
https://github.com/drduh/YubiKey-Guide
HOWTO
Use ssh
On github.com go to Settings->SSH and GPG keys Add key: paste your public key Make sure your ssh client uses correct key:
Host github.com IdentityFile ~/.ssh/id_ed25519
FAQ
The authenticity of host 'github.com (140.82.121.3)' can't be established.
Create pull request
This branch has conflicts that must be resolved
resvolve them :)
remote: Support for password authentication was removed
Password authentication is not supported for Git operations
Use Personal Acces Token instead: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
