Table of Contents

Property AddressFamily

Namespace
SshSharp
Assembly
SshSharp.dll

AddressFamily

Overrides ssh_config's AddressFamily: which of the server's addresses are tried (see AddressFamily). It applies to the first network connection, the only one this machine makes: to the destination, or to the first ProxyJump hop. Not with a ProxyCommand or a Proxy, which make the connection. Null (the default) leaves it to ssh_config.

public SshAddressFamily? AddressFamily { get; init; }

Property Value

SshAddressFamily?