Update variable to disable SSH keep-alive checks which break NetRunner :(
This commit is contained in:
parent
78025f6405
commit
8283971b53
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue