<PackageReference Include="SSH.NET" Version="2024.2.0" />

ConnectionInfo

public TimeSpan ChannelCloseTimeout { get; set; }

public IDictionary<string, RequestInfo> ChannelRequests { get; }

public string ClientVersion { get; }

public string CurrentClientCompressionAlgorithm { get; }

public string CurrentClientEncryption { get; }

public string CurrentClientHmacAlgorithm { get; }

public string CurrentHostKeyAlgorithm { get; }

public string CurrentKeyExchangeAlgorithm { get; }

public string CurrentServerCompressionAlgorithm { get; }

public string CurrentServerEncryption { get; }

public string CurrentServerHmacAlgorithm { get; }

public Encoding Encoding { get; set; }

public IDictionary<string, CipherInfo> Encryptions { get; }

public IDictionary<string, HashInfo> HmacAlgorithms { get; }

public string Host { get; }

public IDictionary<string, Func<byte[], KeyHostAlgorithm>> HostKeyAlgorithms { get; }

public bool IsAuthenticated { get; }

public int MaxSessions { get; set; }

public int Port { get; }

public string ProxyHost { get; }

public string ProxyPassword { get; }

public int ProxyPort { get; }

public ProxyTypes ProxyType { get; }

public string ProxyUsername { get; }

public int RetryAttempts { get; set; }

public string ServerVersion { get; }

public TimeSpan Timeout { get; set; }

public string Username { get; }

public ConnectionInfo(string host, string username, AuthenticationMethod[] authenticationMethods)

public ConnectionInfo(string host, int port, string username, AuthenticationMethod[] authenticationMethods)

public ConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, AuthenticationMethod[] authenticationMethods)