~ruther/guix-local

d7ad785c6d6b02f711c1595a7b8ce6d023d0e547 — Attila Lendvai a month ago 92ffbdd
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
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/ssh.scm
M guix/ssh.scm => guix/ssh.scm +1 -1
@@ 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: