From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GEBHFSfsFmbfsgAA62LTzQ:P1 (envelope-from ) for ; Wed, 10 Apr 2024 21:44:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GEBHFSfsFmbfsgAA62LTzQ (envelope-from ) for ; Wed, 10 Apr 2024 21:44:56 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712778279; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=AZXmJvLsecu90/vne3onSIWxFHw0R4NUpLYhF+uU50o=; b=hepLMJRBWM9W9usO4n94yxYkvHr8KLoPNzNUcEkirEwx8L7cKl9m/JD81/yyj10a5hAIfL JvexLdfQmCnxQXc81MI7wXnAoyIECwSoZeBhgEEn7I/+wHV8yc2Weg+rH6q/AMAsS7qj+B h/cpIZ8ycVYhsOm7tAQOvxoh4HSv2iWFoWIo/aWikZgfqwzYe/O00y54k16FjMXuXs25Pg BjzRANYlMahFUbifIBt2iLpHhFYe5GFbwrHLO6VKcZdjdEms6QXd/FYFh0/cWZ9Ul7POkZ +Pv+wFm0v5wHF3ViDsSgS72SIcheu/8v2+gPXcK/HrPvvFtX9kCuaKAFT5OTKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712778279; a=rsa-sha256; cv=none; b=hIuNFS4ZHyPbcrK+G4D1WyO8NebxaFHbG/gf696WSY+87VMsyYa/CAGxUsB3ynHaJd95cS ZFUB1Hf8sAAUMQECO0txu9zdYGseX6Ks4gqWgfXq4J48/Pqc+DTwK+1XSwftAMuz/InINt +THL4bs6DWOyQIlEPIyjS3eFgUMv8kCQzti6kJSYZHNeHGucIjFifypli49xcztqRT1lBP DrihpaF/U8ut+NDBxpp5+EjGU1lAhZyT/slRVqb54u2e2bBLqdKKtPitL3yqSiTxfB/boK aPlj0iu+VeRWLSzTNPXCldTXS4j4Rh01+dQX9Cg+/nmX9vNlaighPlkOaUT/Gw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 31A6139F34 for ; Wed, 10 Apr 2024 21:44:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rudrg-0000P1-IJ; Wed, 10 Apr 2024 15:44:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruVCI-0003cE-BY for bug-guix@gnu.org; Wed, 10 Apr 2024 06:28:54 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ruVCI-0000wT-0U for bug-guix@gnu.org; Wed, 10 Apr 2024 06:28:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ruVCQ-0007sD-61 for bug-guix@gnu.org; Wed, 10 Apr 2024 06:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#70034: Hostkey error when pulling or building from private git repository References: <1156672208.1243481.1711555774538.JavaMail.zimbra@universite-paris-saclay.fr> In-Reply-To: <1156672208.1243481.1711555774538.JavaMail.zimbra@universite-paris-saclay.fr> Resent-From: Tim Johann Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 10 Apr 2024 10:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70034 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 70034@debbugs.gnu.org Received: via spool by 70034-submit@debbugs.gnu.org id=B70034.171274491229939 (code B ref 70034); Wed, 10 Apr 2024 10:29:02 +0000 Received: (at 70034) by debbugs.gnu.org; 10 Apr 2024 10:28:32 +0000 Received: from localhost ([127.0.0.1]:52203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruVBv-0007mp-JH for submit@debbugs.gnu.org; Wed, 10 Apr 2024 06:28:31 -0400 Received: from ms-10.1blu.de ([178.254.4.101]:45792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruVBt-0007mf-3N for 70034@debbugs.gnu.org; Wed, 10 Apr 2024 06:28:29 -0400 Received: from [129.206.148.250] (helo=dolos) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ruVBj-001jHM-8W for 70034@debbugs.gnu.org; Wed, 10 Apr 2024 12:28:19 +0200 From: Tim Johann Date: Wed, 10 Apr 2024 12:14:21 +0200 User-agent: mu4e 1.10.8; emacs 29.1 Message-ID: <87h6g97br1.fsf@phrogstar.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Con-Id: 303810 X-Con-U: 0-timjohann X-Originating-IP: 129.206.148.250 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 10 Apr 2024 15:44:10 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.91 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -4.91 X-Migadu-Queue-Id: 31A6139F34 X-TUID: +hEBZUCs1Qao --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain Content-Disposition: inline Hi there, I have experienced the same problem, and have a little piece of the puzzle. As I looked at the server hosting my own private channel I saw the line Unable to negotiate with XXX.XXX.XXX.XXX port 45072: no matching host key type found. Their offer: ssh-rsa [preauth] which means that the guix pull command only uses a Hostkey using an algorithm that is not in the default configuration of the sshd HostKeyAlgorithms (as it is considered too weak for keys of a size <2048 bits?). The workaround I am using is a line HostKeyAlgorithms +ssh-rsa in my server's sshd_config (and using a key of a size of 4096 bits). Nevertheless, I would like to see guix pull using a host key with a different algorithm - or a larger variety of host keys. Hoping that helps, Cheers Tim --==-=-= Content-Type: text/html Content-Disposition: inline

Hi there,

I have experienced the same problem, and have a little piece of the puzzle. As I looked at the server hosting my own private channel I saw the line

Unable to negotiate with XXX.XXX.XXX.XXX port 45072: no matching host key type found. Their offer: ssh-rsa [preauth]

which means that the guix pull command only uses a Hostkey using an algorithm that is not in the default configuration of the sshd HostKeyAlgorithms (as it is considered too weak for keys of a size <2048 bits?).

The workaround I am using is a line

HostKeyAlgorithms +ssh-rsa

in my server's sshd_config (and using a key of a size of 4096 bits).

Nevertheless, I would like to see guix pull using a host key with a different algorithm - or a larger variety of host keys.

Hoping that helps,

Cheers

Tim

--==-=-=-- --=-=-=--