Initial update, some quirks to work out with NetRunner mostly

This commit is contained in:
Bryan Ashby
2022-04-06 10:01:21 -06:00
parent b2fda13085
commit 9019479bfd
4 changed files with 6 additions and 5 deletions

View File

@@ -359,7 +359,7 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
//
ssh2.Server.KEEPALIVE_INTERVAL = 0;
this.server = ssh2.Server(serverConf);
this.server = new ssh2.Server(serverConf);
this.server.on('connection', (conn, info) => {
Log.info(info, 'New SSH connection');
this.handleNewClient(new SSHClient(conn), conn._sock, ModuleInfo);