Table of Contents

Property KeepAliveInterval

Namespace
SshSharp
Assembly
SshSharp.dll

KeepAliveInterval

Overrides ssh_config's ServerAliveInterval for the destination and every ProxyJump hop (see KeepAliveInterval). Zero and InfiniteTimeSpan send no keep-alives whatever the configuration says; null (the default) leaves it to ssh_config.

public TimeSpan? KeepAliveInterval { get; init; }

Property Value

TimeSpan?

Exceptions

ArgumentOutOfRangeException

The value is negative (other than infinite).