Update variable to disable SSH keep-alive checks which break NetRunner :(

This commit is contained in:
Bryan Ashby 2022-04-08 16:41:22 -06:00
parent 78025f6405
commit 8283971b53
No known key found for this signature in database
GPG Key ID: C2C1B501E4EFD994
1 changed files with 3 additions and 1 deletions

View File

@ -357,7 +357,9 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
// However, as of this writing, NetRunner and SyncTERM both // However, as of this writing, NetRunner and SyncTERM both
// fail to respond to OpenSSH keep-alive pings (keepalive@openssh.com) // fail to respond to OpenSSH keep-alive pings (keepalive@openssh.com)
// //
ssh2.Server.KEEPALIVE_INTERVAL = 0; // See also #399
//
ssh2.Server.KEEPALIVE_CLIENT_INTERVAL = 0;
this.server = new ssh2.Server(serverConf); this.server = new ssh2.Server(serverConf);
this.server.on('connection', (conn, info) => { this.server.on('connection', (conn, info) => {