comp426-2022-fall / a00

Install required software for COMP 426 and read an intro guide to Git and GitHub
0 stars 6 forks source link

ERROR: Permission to comp426-2022-fall/a00.git denied #16

Closed mayather closed 2 years ago

mayather commented 2 years ago

I'm getting an error which says "Warning: Permanently added the ECDSA host key for IP address '140.82.112.4' to the list of known hosts. ERROR: Permission to comp426-2022-fall/a00.git denied to mayather. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists" when I try to push to github. I've looked online and it says it may be an issue with the key, but I've confirmed the key is correct to the best of my knowledge.

Also, I mistakenly tried downloading some of the software using the command prompt, and I had created a key there and added it to my github account. After realizing I was supposed to use Ubuntu, I deleted the old key and added the new one. Could this be causing the error?

Capture 2 Capture 3
luisdrg commented 2 years ago

It was stated that: "If you clone this repo directly, it will not be added to the organization as an individual repo associated with your account and you will not be able to push to it."

Perhaps you cloned the repository directly?

Make sure to use the GitHub classroom link instead: https://classroom.github.com/a/TLIqqWVj

jdmar3 commented 2 years ago

It would appear that you have not set up an ssh key in GitHub settings. It also absolutely looks like you have cloned the repo from the template, which it explicitly states not to do. Please follow the instructions and use the invite link and you should be able to get through the assignment.