aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libssh/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/config.c b/libssh/config.c
index 1c17b8cc..fe3678f2 100644
--- a/libssh/config.c
+++ b/libssh/config.c
@@ -227,8 +227,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");
- ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "zlib");
+ ssh_options_set(session, SSH_OPTIONS_COMPRESSION_C_S, "zlib,none");
+ ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "zlib,none");
} else {
ssh_options_set(session, SSH_OPTIONS_COMPRESSION_C_S, "none");
ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "none");