From: Tim Johann <t1m@phrogstar.de>
To: 70034@debbugs.gnu.org
Subject: bug#70034: Hostkey error when pulling or building from private git repository
Date: Wed, 10 Apr 2024 12:14:21 +0200 [thread overview]
Message-ID: <87h6g97br1.fsf@phrogstar.de> (raw)
In-Reply-To: <1156672208.1243481.1711555774538.JavaMail.zimbra@universite-paris-saclay.fr>
[-- Attachment #1.1: Type: text/plain, Size: 784 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2722 bytes --]
next prev parent reply other threads:[~2024-04-10 19:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-27 16:09 bug#70034: Hostkey error when pulling or building from private git repository Atte Torri via Bug reports for GNU Guix
2024-04-10 10:14 ` Tim Johann [this message]
2024-04-11 17:34 ` Frederickson, Jonathan via Bug reports for GNU Guix
2024-04-12 14:50 ` Frederickson, Jonathan via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6g97br1.fsf@phrogstar.de \
--to=t1m@phrogstar.de \
--cc=70034@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).