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

ConnectionInfo

public abstract class ConnectionInfo
public IDictionary<string, Type> AuthenticationMethods { get; }

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

public IDictionary<string, Type> CompressionAlgorithms { get; }

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

public string ErrorMessage { get; }

public IDictionary<string, Func<byte[], HashAlgorithm>> HmacAlgorithms { get; }

public string Host { get; }

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

public bool IsAuthenticated { get; }

public IDictionary<string, Type> KeyExchangeAlgorithms { get; }

public int MaxSessions { get; set; }

public abstract string Name { get; }

public int Port { get; }

public int RetryAttempts { get; set; }

protected Session Session { get; }

public TimeSpan Timeout { get; set; }

public string Username { get; }

protected ConnectionInfo(string host, int port, string username)

public bool Authenticate(Session session)

protected abstract void OnAuthenticate()

protected void SendMessage(Message message)

protected virtual void Session_MessageReceived(object sender, MessageEventArgs<Message> e)

protected void WaitHandle(WaitHandle eventWaitHandle)