Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 551
Johnson Jo Avatar asked Jun 25 '13 14:06

Johnson Jo


1 Answers

I just hit this problem while working on a new install. There was a change to the key fingerprint format in OpenSSH at version 6.8:

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

Fingerprints now have the hash algorithm prepended. An example of the new format: SHA256:mVPwvezndPv/ARoIadVY98vAC0g+P/5633yTC4d/wXE Please note that visual host keys will also be different.

The latest git checkout of gitolite is aware, since 18th March '15, of this new format.

like image 159
starfry Avatar answered Sep 24 '22 16:09

starfry