So I can’t quite find the right solution, after hours searching and trying different solutions.
I’m trying to set up ssh from my RaspberryPi to work with a private repo on my GitHub. I was using https fine, but was annoyed with having to enter my username and password every time I pushed a commit. After switching to ssh from https, now I get the error:
firstname.lastname@example.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What am I doing wrong?!