When I commit/push to my projects using TortoiseGit and my GitHub credentials, the commits are not attributed to my GitHub profile. I guess this is because I have not set up a signing key with TortoiseGit? (I assumed that my GitHub username and password would suffice to identify me but apparently this ist not the case…)
So I wanted to set up a key but I got confused.
Under TortoiseGit you can setup a Putty Key (.ppk) for each repository:
But when I create a keypair with puttygen.exe,
the public key starts with
---- BEGIN SSH2 PUBLIC KEY ----
and github will not accept this when I try to add a new SSH key:
On the other hand, when I generate a key pair as described on the GitHub Page with
ssh-keygen -t rsa -b 4096 -C "_your\firstname.lastname@example.org_"
I get a key pair, whose public key is accepted by GitHub, but the private key is not a .pkk file,
so I guess it would not be accepted by TortoiseGit as a “Putty Key” (did not try)?
How is this done the right way?