I tried setting up git as shown in Github's help page, on Arch linux but there seems to be some problem with the SSH keys. It gives this error-

Permission denied (publickey).

This problem is documented in the troubleshooting page but I when I tried the procedure shown there, it didn't really solve the problem. How can I solve this problem?


Make sure that you have set the correct permissions on your ~/.ssh folder.

$ chmod go-w ~/.ssh

See: https://wiki.archlinux.org/index.php/Using_SSH_Keys

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy