ssh: 15s default keepalive interval

This commit is contained in:
Eugene Pankov 2021-01-24 13:33:54 +01:00
parent 67bacb9dd3
commit 2b0ad0d558
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -262,7 +262,7 @@ export class SSHService {
tryKeyboard: true,
agent: agent ?? undefined,
agentForward: session.connection.agentForward && !!agent,
keepaliveInterval: session.connection.keepaliveInterval,
keepaliveInterval: session.connection.keepaliveInterval ?? 15000,
keepaliveCountMax: session.connection.keepaliveCountMax,
readyTimeout: session.connection.readyTimeout,
hostVerifier: (digest: string) => {