views:

727

answers:

2

I'm trying to use git on a Mac (I'm a Mac newbie.) I obviously have to load my private key. On my Windows machine I just use pageant and msysgit. How do I load my private key into git on the Mac?

+2  A: 

Git has a good article on creating and using your private keys here:

http://github.com/guides/providing-your-ssh-key

localshred
How do I transfer my .ppk private key to the Mac? (It was created by putty.)
cool-RR
You could scp it or something, but .ppk files aren't standardized for unix private/public key encryption.
localshred
putty has a utility to convert ppk keys to other formats. I forget what it's name was but you can find it from the same page as putty is downloaded from.
Jeremy Wall
A: 

I'd say just create a new key. If you're posting to github it's no big deal to push two public keys up, and same for putting it up on another server - it's just another entry in ~/.ssh/authorized_keys.

The github guide localshred pointed to should have all the directions you'd need.

Jamie Macey