1

The error message on git clone is:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • The message is clear either ther url is incorrect or the public key doesn’t have the permission to access the repo. – Inder Kumar Rathore Aug 28 '17 at 01:33
  • Possible duplicate of [Git - Permission denied (publickey)](https://stackoverflow.com/questions/2643502/git-permission-denied-publickey) – phd Aug 28 '17 at 11:11

1 Answers1

0

Since it is a private GitHub instance, go to your github.iu.edu profile page, and double-check you have registered your public key to your account.

Then double-check ssh is working with:

ssh -T git@github.iu.edu
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Using the `git@` command is specifying SSH as the connection protocol. This requires a key to the repository (host). – Thom Parkin Aug 28 '17 at 15:14
  • 1
    @ThomParkin Yes, that is what I meant with "double-check you have registered your public key to your account.", since it does indeed "requires a key to the repository (host)" – VonC Aug 28 '17 at 15:22