Table of Contents

Enum SshProxyType

Namespace
SshSharp
Assembly
SshSharp.dll

The kind of proxy an SshProxy speaks.

public enum SshProxyType

Fields

Custom = 3

Your own connector (FromConnector(Func<string, int, CancellationToken, ValueTask<Stream>>)): a tunnel, a WebSocket or anything else that returns a connected stream.

Http = 0

An HTTP proxy, through the CONNECT method (RFC 9110 section 9.3.6).

Socks4 = 1

SOCKS 4, or 4a when the destination is a host name (resolved by the proxy).

Socks5 = 2

SOCKS 5 (RFC 1928), with username and password authentication (RFC 1929) when credentials are given.