From 77269b5d2dbbb80499ed8d1adbee37e8752418a2 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 7 Nov 2025 23:52:31 +0100 Subject: Fix clone on ubuntu with ssh over gpg There seem to be an issue on ubuntu openssl that fails to resolve the keyexchange algorithms correctly and keeps hanging --- .ssh/config | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.ssh') diff --git a/.ssh/config b/.ssh/config index 4fd37fb..9c118da 100644 --- a/.ssh/config +++ b/.ssh/config @@ -11,5 +11,12 @@ Host *.local ForwardAgent yes StreamLocalBindUnlink yes +# ssh -v kex: algorithm: sntrup761x25519-sha512@openssh.com +# post-quantum algorithm hangs and fails to exchange keys on ubuntu. +# this falls back to the elliptic curve 25519 algorithm. +# FIXME: remove this once debian works +Host git.sr.ht github.com + KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org + Host * ServerAliveInterval 300 -- cgit v1.2.3