ssh: Add 'none' to compression for dropbear compatibility.

Without this change `guix deploy` fails the following way when connecting to a
dropbear ssh server:

guix deploy: error: failed to deploy example: SSH connection to 'example.com'
port 22 failed: kex error : no match for method compression algo
client->server: server [none], client [zlib@openssh.com,zlib]

Fixes guix/guix#5479.

* guix/ssh.scm (%compression): Add 'none' as a possible compression.

Change-Id: I4c6214035d79a4dd9a77dc1563d9614b9604a7e0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5480
This commit is contained in:
Attila Lendvai 2026-01-08 20:45:17 +01:00 committed by Ludovic Courtès
parent 92ffbdd3cf
commit d7ad785c6d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -64,7 +64,7 @@
;;; Code:
(define %compression
"zlib@openssh.com,zlib")
"zlib@openssh.com,zlib,none")
(define (host-key->type+key host-key)
"Destructure HOST-KEY, an OpenSSH host key string, and return two values: