From a08a6b7c036fc7c18df48efe9c514d75918f093e Mon Sep 17 00:00:00 2001 From: Max Audron Date: Wed, 2 Aug 2023 14:55:12 +0200 Subject: document issue with ignored ssh config --- README.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.org b/README.org index 3d4bd10..4a18e14 100644 --- a/README.org +++ b/README.org @@ -45,3 +45,17 @@ token = "HgDAfJ9tfD5xUw2L6SUm" # Directory to clone the repos into directory = "/home/audron/repo/gitlab.com" #+end_src + +* Known Problems +** error during git operation invalid or unknown remote ssh hostkey +libgit2, the git library this project uses, does not have support for ssh +configuration via ~\~/.ssh/config~. Thus if you have a custom location for the +~known_hosts~ file or disabled known hosts verification this configuration will +not be respected. + +Execute a ssh-keyscan to a known hosts file for each of your configured forges: +#+begin_src sh +ssh-keyscan gitlab.com >> ~/.ssh/known_hosts +#+end_src + +https://github.com/libgit2/libgit2/issues/4872 -- cgit v1.2.3