Different host visible as gerrit.ovirt.org
Shmuel Melamud
smelamud at redhat.com
Sun Aug 27 14:35:33 UTC 2017
Hi!
Today I found that git pull from Gerrit works on my laptop by doesn't
work on my VM in RHEV-TLV. Both the laptop and the VM have their
public SSH keys registered on gerrit.ovirt.org and both resolve
gerrit.ovirt.org as 107.22.212.69. But git pull on the laptop works
OK, but on the VM returns "Permission denied
(publickey,gssapi-keyex,gssapi-with-mic)".
Investigation shows that gerrit.ovirt.org visible for laptop has:
Fingerprint:
55:d7:e6:19:23:19:a6:ca:2a:07:b0:3c:fa:bd:14:88
Entry for ~/.ssh/known_hosts:
[gerrit.ovirt.org]:29418,[107.22.212.69]:29418 ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEAqgWNlffhq...XtFgTvGQ==
But gerrit.ovirt.org visible for laptop has:
Fingerprint:
e5:5b:1c:2f:49:c3:01:6b:24:f5:dd:7e:11:ee:f0:a7
Entry for ~/.ssh/known_hosts:
gerrit.ovirt.org,107.22.212.69 ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEAyt/BaplDZPW+meN2ZLhY7vyU0xC...BGWRN7aceXQ==
The first is the key of the real Gerrit host and the second is some other key.
How it can happen?
Shmuel
More information about the Infra
mailing list