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

SshClient

public class SshClient : BaseClient

public SshClient(ConnectionInfo connectionInfo)

public SshClient(string host, int port, string username, string password)

public SshClient(string host, string username, string password)

public SshClient(string host, int port, string username, PrivateKeyFile[] keyFiles)

public SshClient(string host, string username, PrivateKeyFile[] keyFiles)

public T AddForwardedPort<T>(string boundHost, uint boundPort, string connectedHost, uint connectedPort) where T : ForwardedPort

public T AddForwardedPort<T>(uint boundPort, string connectedHost, uint connectedPort) where T : ForwardedPort

public SshCommand CreateCommand(string commandText)

public SshCommand CreateCommand(string commandText, Encoding encoding)

public Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, string terminalMode, int bufferSize)

public Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, string terminalMode)

public Shell CreateShell(Stream input, Stream output, Stream extendedOutput)

public Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, string terminalMode, int bufferSize)

public Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, string terminalMode)

public Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput)

public SshCommand RunCommand(string commandText)