GNU bug report logs - #70034
Hostkey error when pulling or building from private git repository

Previous Next

Package: guix;

Reported by: Atte Torri <atte.torri <at> universite-paris-saclay.fr>

Date: Wed, 27 Mar 2024 16:10:02 UTC

Severity: normal

Full log


Message #14 received at 70034 <at> debbugs.gnu.org (full text, mbox):

From: "Frederickson, Jonathan" <jfrederi <at> akamai.com>
To: "70034 <at> debbugs.gnu.org" <70034 <at> debbugs.gnu.org>
Subject: Hostkey error when pulling or building from private git repository
Date: Fri, 12 Apr 2024 14:50:43 +0000
[Message part 1 (text/plain, inline)]
It looks like this is https://github.com/libgit2/libgit2/issues/6612

And one of the comments on that issue from the libgit2 maintainer made
me realize there's a workaround. Using github.com as an example since
the initial report was having trouble with a channel on github, if you
run this:

$ ssh-keyscan github.com >> ~/.ssh/known_hosts

...it seems to fix the issue, because ssh-keyscan fetches host keys of
all types from the remote host, rather than just one (as seems to
happen when you connect to a remote host via SSH normally).

Obviously would prefer a proper fix, but this is a relatively low-
impact workaround for now.
[smime.p7s (application/pkcs7-signature, attachment)]

This bug report was last modified 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.