Table of Contents

Property ConnectionAttempts

Namespace
SshSharp.Config
Assembly
SshSharp.dll

ConnectionAttempts

ConnectionAttempts: how many times to try the TCP connection, one second apart (default 1). Only failures to reach the server are tried again (refused, unreachable, timed out), never a failed handshake or authentication; ConnectTimeout still bounds all the attempts together. Values below 1, which ssh refuses, are left out.

public int ConnectionAttempts { get; init; }

Property Value

int