ISshClient
Provides client connection to SSH server.
            
                using Renci.SshNet.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
namespace Renci.SshNet
{
    [System.Runtime.CompilerServices.NullableContext(1)]
    public interface ISshClient : IBaseClient, IDisposable
    {
        IEnumerable<ForwardedPort> ForwardedPorts { get; }
        void AddForwardedPort(ForwardedPort port);
        void RemoveForwardedPort(ForwardedPort port);
        SshCommand CreateCommand(string commandText);
        SshCommand CreateCommand(string commandText, Encoding encoding);
        SshCommand RunCommand(string commandText);
        Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, [System.Runtime.CompilerServices.Nullable(2)] IDictionary<TerminalModes, uint> terminalModes, int bufferSize);
        Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes);
        Shell CreateShell(Stream input, Stream output, Stream extendedOutput);
        Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, [System.Runtime.CompilerServices.Nullable(2)] IDictionary<TerminalModes, uint> terminalModes, int bufferSize);
        Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes);
        Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput);
        Shell CreateShellNoTerminal(Stream input, Stream output, Stream extendedOutput, int bufferSize = -1);
        ShellStream CreateShellStream(string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize);
        ShellStream CreateShellStream(string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize, [System.Runtime.CompilerServices.Nullable(2)] IDictionary<TerminalModes, uint> terminalModeValues);
        ShellStream CreateShellStreamNoTerminal(int bufferSize = -1);
    }
}