Property KeepAliveInterval
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
KeepAliveInterval
Send a keep-alive when the server has been silent this long (OpenSSH's ServerAliveInterval). Null (the default),
Zero (as ServerAliveInterval 0) and InfiniteTimeSpan send none,
and so does an interval longer than about 49 days, the longest a timer waits. Keep-alives detect a dead connection and stop idle
NAT and firewall timeouts from dropping it.
public TimeSpan? KeepAliveInterval { get; init; }
Property Value
Exceptions
- ArgumentOutOfRangeException
The value is negative (other than infinite).