Table of Contents

Property ConnectTimeout

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

ConnectTimeout

How long one connection attempt, handshake and authentication included, may take (default 30 seconds; at most about 24 days, MaxValue milliseconds, as ConnectTimeout allows). It is also the ConnectTimeout of the client options built from these settings, which ConfigureClientOptions may shorten; it cannot extend the attempt past this limit.

public TimeSpan ConnectTimeout { get; set; }

Property Value

TimeSpan