Renci.SshNet.ISshClient
Provides client connection to SSH server.
namespace Renci.SshNet
{
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, 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, 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, IDictionary<TerminalModes, uint> terminalModeValues);
ShellStream CreateShellStreamNoTerminal(int bufferSize = -1);
}
}