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.
This commit is contained in:
Jason Kendall 2018-04-24 08:30:14 -04:00 committed by GitHub
parent df01e72f2e
commit 7ac388c30d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
Log.trace(`SSH: ${sshDebugLine}`);
}
},
algorithms: { compress: ['none'] },
};
this.server = ssh2.Server(serverConf);