Github: Difference between revisions
From DWIKI
m →FAQ Tag: wikieditor |
Tag: wikieditor |
||
| Line 24: | Line 24: | ||
===git@github.com: Permission denied (publickey).=== | ===git@github.com: Permission denied (publickey).=== | ||
Most likely github doesn't know your public key, try | Most likely github doesn't know your public key, try | ||
ssh - | ssh -vT git@github.com | ||
and check on your account: '''SSH and GPG keys -> SSH keys''' | and check on your account: '''SSH and GPG keys -> SSH keys''' | ||
==This branch has conflicts that must be resolved == | ==This branch has conflicts that must be resolved == | ||
Revision as of 12:06, 2 February 2026
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
And
git remote set-url origin git@github.com:username/repository.git
FAQ
Error messages
The authenticity of host 'github.com (140.82.121.3)' can't be established.
??
git@github.com: Permission denied (publickey).
Most likely github doesn't know your public key, try
ssh -vT git@github.com
and check on your account: SSH and GPG keys -> SSH keys
This branch has conflicts that must be resolved
resolve them :)
remote: Support for password authentication was removed
Password authentication is not supported for Git operations
Check:
or use Personal Acces Token instead: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
Local copy contains "<<<<<<< HEAD"
Merge conflict, fixing it:
git mergetool
