Guitolite - Remote: FATAL: Fingerprint failed for 'keydir /'

I installed Gitolite on my repository management system. When I try to add any of the public key of the client machine, I get the error message “remote: FATAL: the fingerprint does not work for“ keydir /. ”Could you help me solve this problem.

+6
source share
2 answers

As I described in Unrecoverable: The object is corrupted when you click on the remote repo ", this is due to the wrong ssh key.

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

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

I just hit this problem while working on a new installation. In the OpenSSH format in version 6.8, the key fingerprint format was changed:

Add the FingerprintHash parameter to ssh (1) and sshd (8) and the equivalent command line flags for other tools to control the algorithm used for key fingerprints. By default, it changes from MD5 to SHA256 and the format is from hex to base64.

Fingerprints now have a hash algorithm. Example new format: SHA256: mVPwvezndPv / ARoIadVY98vAC0g + P / 5633yTC4d / wXE Note that the visual keys of the host will also be different.

The latest git gitolite post has been known since March 18, 15 of this new format.

+3
source

All Articles