From 7ac388c30d96087b725265424049bd3a89f19158 Mon Sep 17 00:00:00 2001 From: Jason Kendall Date: Tue, 24 Apr 2018 08:30:14 -0400 Subject: [PATCH] Force no compression It appears as tho there is a problem with compression and the upstream library. This PR forces no compression mode, making a work around for #181. This work around is derived from https://github.com/mscdex/ssh2/issues/594 which may be the cause for #181 as well. --- core/servers/login/ssh.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/servers/login/ssh.js b/core/servers/login/ssh.js index d14bdbbd..80a99c7e 100644 --- a/core/servers/login/ssh.js +++ b/core/servers/login/ssh.js @@ -248,6 +248,7 @@ exports.getModule = class SSHServerModule extends LoginServerModule { Log.trace(`SSH: ${sshDebugLine}`); } }, + algorithms: { compress: ['none'] }, }; this.server = ssh2.Server(serverConf);