Skip to content

ssh issues Permission denied (publickey)

Christopher M. Neill edited this page Feb 22, 2016 · 3 revisions
  1. Permission denied (publickey)
  2. issue is with your ssh keys
  3. check which keys are in your agent with ssh-add -L
  4. if none of those are keys you have with github you need to add it ssh-add ~/.ssh/id_rsa
  5. run ssh-add -L and ensure what you added above is in the list
  6. if doing these steps does not help, you might have an expired auth token
  7. run ssh-add -D && ssh-add ~/.ssh/id_rsa ~/.ssh/*prime.pem && ssh-add -a.
Clone this wiki locally