From 389e52dcb9f184d11b8608550377ca75574d0257 Mon Sep 17 00:00:00 2001 From: Jason Kendall Date: Mon, 23 Apr 2018 20:53:55 -0400 Subject: [PATCH 1/2] Missing mb command in oputil.js help The `mb` sub-command was missing from the general help output from oputil.js - this add it. --- core/oputil/oputil_help.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/oputil/oputil_help.js b/core/oputil/oputil_help.js index 4875d382..c5e096b5 100644 --- a/core/oputil/oputil_help.js +++ b/core/oputil/oputil_help.js @@ -19,6 +19,7 @@ commands: user user utilities config config file management fb file base management + mb message base management `, User : `usage: optutil.js user --user USERNAME @@ -100,4 +101,4 @@ general information: function getHelpFor(command) { return usageHelp[command]; -} \ No newline at end of file +} From 7ac388c30d96087b725265424049bd3a89f19158 Mon Sep 17 00:00:00 2001 From: Jason Kendall Date: Tue, 24 Apr 2018 08:30:14 -0400 Subject: [PATCH 2/2] 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);