views:

89

answers:

1

I'm trying to configure GIT on my Windows XP machine, but SSH keeps creating and looking for the public/private key pair in non-sensical places, e.g. /.ssh/id_rsa

Is there a configuration file in the GIT Installation for Windows where I can switch this to my home directory, or another user defined place? By default, it offers to create new key pairs at //.ssh/id_rsa but that gives me the error "Could not create directory '//.ssh'." And when I'm able to find a directory I can create it in, GIT won't look there.

+1  A: 

Figured out how to manually set my home directory in Windows XP:

  1. right click "My Computer"
  2. choose the "Advanced" tab
  3. click the "Environmental Variables" button
  4. under the "System variables" section, click "New"
  5. in "Variable name" enter in "home".
  6. in "Variable value" enter in the path to your profile.

Ta da!

Michael Morisy