[SOLVED] (GITHUB) Invalid Permission?

Hello fellow developers,

I am attempting to clone the Sponge Implementation into a local directory on my computer by executing the following in the unix command line:

git clone [email protected]:SpongePowered/Sponge.git

I expected to work flawlessly but instead I was presented with this error message:

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 not sure as to what access rights it is referring to, but know for a fact that the repository exists.

Any ideas?

You haven’t set up SSH keys.

If you don’t want to bother with that, just clone using HTTPS (recommended)
git clone https://github.com/SpongePowered/Sponge.git

3 Likes

Thank you so much!

Your response was quick too ;).

4 Likes