mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-25 09:36:03 +00:00
Revert "disable SSH keepalive by default"
This reverts commit b31c2a5c11
.
This commit is contained in:
@@ -20,7 +20,7 @@ export class SSHProfilesService extends QuickConnectProfileProvider<SSHProfile>
|
|||||||
auth: null,
|
auth: null,
|
||||||
password: null,
|
password: null,
|
||||||
privateKeys: [],
|
privateKeys: [],
|
||||||
keepaliveInterval: null,
|
keepaliveInterval: 5000,
|
||||||
keepaliveCountMax: 10,
|
keepaliveCountMax: 10,
|
||||||
readyTimeout: null,
|
readyTimeout: null,
|
||||||
x11: false,
|
x11: false,
|
||||||
|
@@ -317,7 +317,7 @@ export class SSHSession {
|
|||||||
key: this.profile.options.algorithms?.[SSHAlgorithmType.HOSTKEY]?.filter(x => supportedAlgorithms[SSHAlgorithmType.HOSTKEY].includes(x)),
|
key: this.profile.options.algorithms?.[SSHAlgorithmType.HOSTKEY]?.filter(x => supportedAlgorithms[SSHAlgorithmType.HOSTKEY].includes(x)),
|
||||||
compression: this.profile.options.algorithms?.[SSHAlgorithmType.COMPRESSION]?.filter(x => supportedAlgorithms[SSHAlgorithmType.COMPRESSION].includes(x)),
|
compression: this.profile.options.algorithms?.[SSHAlgorithmType.COMPRESSION]?.filter(x => supportedAlgorithms[SSHAlgorithmType.COMPRESSION].includes(x)),
|
||||||
},
|
},
|
||||||
keepaliveIntervalSeconds: this.profile.options.keepaliveInterval ? Math.round(this.profile.options.keepaliveInterval / 1000) : undefined,
|
keepaliveIntervalSeconds: Math.round((this.profile.options.keepaliveInterval ?? 15000) / 1000),
|
||||||
keepaliveCountMax: this.profile.options.keepaliveCountMax,
|
keepaliveCountMax: this.profile.options.keepaliveCountMax,
|
||||||
connectionTimeoutSeconds: this.profile.options.readyTimeout ? Math.round(this.profile.options.readyTimeout / 1000) : undefined,
|
connectionTimeoutSeconds: this.profile.options.readyTimeout ? Math.round(this.profile.options.readyTimeout / 1000) : undefined,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user