Topic
GitHub
All articles collected around this topic.
WARNING: UNPROTECTED PRIVATE KEY FILE: Permissions are too open (SSH on a Mac)
When OpenSSH prints WARNING: UNPROTECTED PRIVATE KEY FILE, “Permissions … are too open”, and “This private key will be ignored”, it ignores that private key. Read the path with ls -l, then chmod 600 the file named in the warning.
Received disconnect: Too many authentication failures: the client offered too many keys
When ssh prints “Too many authentication failures” or “Received disconnect: Too many authentication failures”, the client may have offered too many keys on that connection. Read ssh-add -l and ssh -v, then set IdentitiesOnly yes on the one IdentityFile you mean.
ssh-add: illegal option -- apple-use-keychain, or Bad configuration option: UseKeychain, on a Mac
On a Mac, ssh-add: illegal option -- apple-use-keychain and Bad configuration option: UseKeychain usually mean the ssh on PATH is not Apple’s. Run which -a ssh ssh-add, then add the key with /usr/bin/ssh-add.
Permission denied (publickey) for git@github.com on a Mac: the server refused every offered key
When a Mac prints git@github.com: Permission denied (publickey), TCP and the host key check have already succeeded. Read git remote -v and the keys in ssh -vT before you change ~/.ssh or the key GitHub has on the account.
10 things to confirm before deploying a GitHub project
Many projects do not fail because people cannot build them. They fail because the deployment questions were never clarified. This post walks through the 10 things to confirm before you start.