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?


1 Answer 1


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

You must log in to answer this question.