SyncTERM SSH support

+ Enabled all ssh2-streams supported KEX, ciphers, etc. for now. Will communicate with Deuce about this.
This commit is contained in:
Bryan Ashby 2018-11-04 19:29:51 -07:00
parent 206312302a
commit 25560cb47a
2 changed files with 53 additions and 1 deletions

View file

@ -251,12 +251,13 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
ident : 'enigma-bbs-' + enigVersion + '-srv',
// Note that sending 'banner' breaks at least EtherTerm!
debug : (sshDebugLine) => {
if(true === config.loginServers.ssh.traceConnections) {
Log.trace(`SSH: ${sshDebugLine}`);
}
},
algorithms: { compress: ['none'] },
algorithms : config.loginServers.ssh.algorithms,
};
this.server = ssh2.Server(serverConf);