From 7b1359042c09e3f90f6d521e636c2d9123179912 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Mon, 4 Oct 2010 16:23:43 +0200 Subject: Add zlib@openssh.com on the list of compression --- src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/config.c b/src/config.c index 03e6e904..c651ed09 100644 --- a/src/config.c +++ b/src/config.c @@ -239,8 +239,8 @@ static int ssh_config_parse_line(ssh_session session, const char *line, i = ssh_config_get_yesno(&s, -1); if (i >= 0 && *parsing) { if (i) { - ssh_options_set(session, SSH_OPTIONS_COMPRESSION_C_S, "zlib,none"); - ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "zlib,none"); + ssh_options_set(session, SSH_OPTIONS_COMPRESSION_C_S, "zlib@openssh.com,zlib,none"); + ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "zlib@openssh.com,zlib,none"); } else { ssh_options_set(session, SSH_OPTIONS_COMPRESSION_C_S, "none"); ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "none"); -- cgit v1.2.3