Update variable to disable SSH keep-alive checks which break NetRunner :(
This commit is contained in:
@@ -357,7 +357,9 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
|
||||
// However, as of this writing, NetRunner and SyncTERM both
|
||||
// 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.on('connection', (conn, info) => {
|
||||
|
||||
Reference in New Issue
Block a user