I've recently been trying to get into the habit of using git to push my repositories and commits to Github, rather than using manual file uploads, so that I can start practicing with Git. However, in the past week I've started getting the following error message any time I try to push to one of my Github Repositories. I've recieved the following error message while trying to upload three different repositories in the last week.
git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I'm pretty new to Git, so I'm not sure what my next steps should be to trouble shoot this issue. I did read in a different thread that I should try "ssh -T git@github.com" and when I run that command I get the following response:
git@github.com: Permission denied (publickey).