I am trying to clone a private repository owned by another developer. I do not have direct communication with this developer. They sent me a theirusername-id_rsa.pub file and a theirusername-priv.key.ppk file. I understand the ppk file is specific to to Putty ssh client. Can someone provide me with steps on how to clone their repo? I already have git configured with my own account and I think I have to add their ssh key to my ssh/config file or something, but I'm a bit of an ssh noob.
git clone git@github.com:theirusername/pro.git
Cloning into 'pro'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Edit: I was able to get access to the github repository and add myself as a collaborator. Even after doing so I couldn't
git clone git@github.com:theirusername/pro.git
however
git clone https://github.com/theirusername/pro.git
did work.