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

Renci.SshNet.PrivateKeyConnectionInfo

Provides connection information when private key authentication method is used
namespace Renci.SshNet { public class PrivateKeyConnectionInfo : ConnectionInfo, IDisposable { public ICollection<PrivateKeyFile> KeyFiles { get; } public PrivateKeyConnectionInfo(string host, string username, params PrivateKeyFile[] keyFiles); public PrivateKeyConnectionInfo(string host, int port, string username, params PrivateKeyFile[] keyFiles); public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, params PrivateKeyFile[] keyFiles); public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, params PrivateKeyFile[] keyFiles); public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, params PrivateKeyFile[] keyFiles); public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, params PrivateKeyFile[] keyFiles); public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, params PrivateKeyFile[] keyFiles); public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, params PrivateKeyFile[] keyFiles); public void Dispose(); protected virtual void Dispose(bool disposing); } }