SSH Troubleshooting

https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey

Check/compare SHA of current key

ssh-add -l -E sha256

Check connection

ssh -T [git@github.com]

Check which keys are used

ssh -vT [git@github.com]

Set permissions

chmod 600 id_rsa
chmod 600 id_rsa_pub
chmod 600 config