Table of Contents

Property KeepAliveInterval

Namespace
SshSharp.Extensions.DependencyInjection
Assembly
SshSharp.Extensions.DependencyInjection.dll

KeepAliveInterval

Send keep-alives at this interval, so a dead connection is noticed (none by default, or when zero or InfiniteTimeSpan). Any other negative value fails validation. Not used with ConfigAlias, where ssh_config's ServerAliveInterval applies.

public TimeSpan? KeepAliveInterval { get; set; }

Property Value

TimeSpan?