Table of Contents

Property KeepAliveCountMax

Namespace
SshSharp
Assembly
SshSharp.dll

KeepAliveCountMax

Overrides ssh_config's ServerAliveCountMax for the destination and every ProxyJump hop (see KeepAliveCountMax). Null (the default) leaves it to ssh_config (3 when unset).

public int? KeepAliveCountMax { get; init; }

Property Value

int?

Exceptions

ArgumentOutOfRangeException

The value is less than 1.