First, if you have msysgit installed, you perfectly can use ssh-keygen
(included in this msysgit module).
The official help page for installing gitolite can also help.
Don't worry about the two ==
at the end of the public key. It is normal, and what follows those two ==
is always ignored (for instance, you can place a comment here for you to remember what that public key is for, if you want).
Now:
Is it possible to try another key pair without having to reinstall gitolite?
.
Yes. See "lost admin key/access":- Make yourself a new keypair and copy the public key to the server as '
alice.pub
'. - Log on to the server, and run
gitolite setup -pk alice.pub
. .
That's it; the new alice.pub file replaces whatever existed in the repo before.
- Make yourself a new keypair and copy the public key to the server as '
Can I generate the key pairs on my linux box and just upload the private key generated on my Windows machine?
.
No, you need both private and public key on your%HOME%/.ssh
folder (which means you must haveHOME
environment variable defined on Windows)
I would then recommend an%HOME%/.ssh/config
file to use your keys.Any other help on how I can diagnose the problem would be great.
.
The official doc has many tips.
I have a few ssh debugging tips as well.