Table of Contents

Property MaxForwardedConnections

Namespace
SshSharp
Assembly
SshSharp.dll

MaxForwardedConnections

The most connections the server may have forwarded to this client at once, across all remote forwardings (port, dynamic and Unix-socket) and the agent channels of agent forwarding (ForwardAgent). Each one makes a connection on this machine (an agent channel, one to the local agent), so this bounds what a misbehaving server can make it open; above it, the server's channel is refused (resource shortage) and its client sees the connection fail. Default 1000.

public int MaxForwardedConnections { get; init; }

Property Value

int