Method | Description | |
---|---|---|
AddForwardedPort ( |
Adds the forwarded port.
|
|
CreateCommand ( string commandText ) : |
Creates the command to be executed.
|
|
CreateCommand ( string commandText, |
Creates the command to be executed with specified encoding. This method will change current default encoding. |
|
CreateShell ( |
Creates the shell.
|
|
CreateShell ( |
Creates the shell.
|
|
CreateShell ( |
Creates the shell.
|
|
CreateShell ( Stream input, Stream output, Stream extendedOutput ) : Shell |
Creates the shell.
|
|
CreateShell ( Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, uint>.IDictionary |
Creates the shell.
|
|
CreateShell ( Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, uint>.IDictionary |
Creates the shell.
|
|
CreateShellStream ( string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize ) : |
Creates the shell stream. The The column/row dimensions override the pixel dimensions(when nonzero). Pixel dimensions refer to the drawable area of the window. |
|
CreateShellStream ( string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize, uint>.IDictionary |
Creates the shell stream. The The column/row dimensions override the pixel dimensions(when nonzero). Pixel dimensions refer to the drawable area of the window. |
|
RemoveForwardedPort ( |
Stops and removes the forwarded port from the list.
|
|
RunCommand ( string commandText ) : |
Creates and executes the command. This method internally uses asynchronous calls. |
|
SshClient ( |
Initializes a new instance of the SshClient class.
|
|
SshClient ( string host, string username ) : System |
Initializes a new instance of the SshClient class.
|
|
SshClient ( string host, string username, string password ) : System |
Initializes a new instance of the SshClient class.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
OnDisconnected ( ) : void |
Stops forwarded ports.
|
|
OnDisconnecting ( ) : void |
Called when client is disconnecting from the server.
|
Method | Description | |
---|---|---|
AttachForwardedPort ( |
||
DetachForwardedPort ( |
||
EnsureSessionIsOpen ( ) : void | ||
SshClient ( |
Initializes a new instance of the SshClient class. If ownsConnectionInfo is |
|
SshClient ( |
Initializes a new instance of the SshClient class. If ownsConnectionInfo is |
|
SshClient ( string host, int port, string username ) : System | ||
SshClient ( string host, int port, string username, string password ) : System |
public AddForwardedPort ( |
||
port | The port. | |
return | void |
public CreateCommand ( string commandText ) : |
||
commandText | string | The command text. |
return |
public CreateCommand ( string commandText, |
||
commandText | string | The command text. |
encoding | The encoding to use for results. | |
return |
public CreateShell ( |
||
encoding | The encoding. | |
input | string | The input. |
output | Stream | The output. |
extendedOutput | Stream | The extended output. |
return | Shell |
public CreateShell ( |
||
encoding | The encoding. | |
input | string | The input. |
output | Stream | The output. |
extendedOutput | Stream | The extended output. |
terminalName | string | Name of the terminal. |
columns | uint | The columns. |
rows | uint | The rows. |
width | uint | The width. |
height | uint | The height. |
terminalModes | uint>.IDictionary | The terminal modes. |
return | Shell |
public CreateShell ( |
||
encoding | The encoding to use to send the input. | |
input | string | The input. |
output | Stream | The output. |
extendedOutput | Stream | The extended output. |
terminalName | string | Name of the terminal. |
columns | uint | The columns. |
rows | uint | The rows. |
width | uint | The width. |
height | uint | The height. |
terminalModes | uint>.IDictionary | The terminal mode. |
bufferSize | int | Size of the internal read buffer. |
return | Shell |
public CreateShell ( Stream input, Stream output, Stream extendedOutput ) : Shell | ||
input | Stream | The input. |
output | Stream | The output. |
extendedOutput | Stream | The extended output. |
return | Shell |
public CreateShell ( Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, uint>.IDictionary |
||
input | Stream | The input. |
output | Stream | The output. |
extendedOutput | Stream | The extended output. |
terminalName | string | Name of the terminal. |
columns | uint | The columns. |
rows | uint | The rows. |
width | uint | The width. |
height | uint | The height. |
terminalModes | uint>.IDictionary | The terminal mode. |
return | Shell |
public CreateShell ( Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, uint>.IDictionary |
||
input | Stream | The input. |
output | Stream | The output. |
extendedOutput | Stream | The extended output. |
terminalName | string | Name of the terminal. |
columns | uint | The columns. |
rows | uint | The rows. |
width | uint | The width. |
height | uint | The height. |
terminalModes | uint>.IDictionary | The terminal mode. |
bufferSize | int | Size of the internal read buffer. |
return | Shell |
public CreateShellStream ( string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize ) : |
||
terminalName | string | The |
columns | uint | The terminal width in columns. |
rows | uint | The terminal width in rows. |
width | uint | The terminal height in pixels. |
height | uint | The terminal height in pixels. |
bufferSize | int | Size of the buffer. |
return |
public CreateShellStream ( string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize, uint>.IDictionary |
||
terminalName | string | The |
columns | uint | The terminal width in columns. |
rows | uint | The terminal width in rows. |
width | uint | The terminal height in pixels. |
height | uint | The terminal height in pixels. |
bufferSize | int | Size of the buffer. |
terminalModeValues | uint>.IDictionary | The terminal mode values. |
return |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public RemoveForwardedPort ( |
||
port | Forwarded port. | |
return | void |
public RunCommand ( string commandText ) : |
||
commandText | string | The command text. |
return |
public SshClient ( |
||
connectionInfo | The connection info. | |
return | System |
public SshClient ( string host, string username ) : System | ||
host | string | Connection host. |
username | string | Authentication username. |
return | System |
public SshClient ( string host, string username, string password ) : System | ||
host | string | Connection host. |
username | string | Authentication username. |
password | string | Authentication password. |
return | System |