Search code examples
ruby-on-railsgitolite

Gitolite - remote: FATAL: fingerprinting failed for 'keydir/'


I installed Gitolite in my system to manage the repositories. When i try to add any of the client machine's public key, am getting the error "remote: FATAL: fingerprinting failed for 'keydir/". Would you please help me to resolve this problem.


Solution

  • As I documented in "Getting fatal: object is corrupted when pushing to a remote repo", this is due to an incorrect ssh key.

    I like to generate my private/public keys like so (not password protected):

    ssh-keygen -t rsa -f "$HOME/.ssh/git" -C "Gitolite access (not interactive)" -q -P ""