Ssh |
public class SshClient : BaseClient
The SshClient type exposes the following members.
| Name | Description | |
|---|---|---|
| SshClient(ConnectionInfo) | Initializes a new instance of the SshClient class. | |
| SshClient(String, String, PrivateKeyFile) | Initializes a new instance of the SshClient class. | |
| SshClient(String, String, String) | Initializes a new instance of the SshClient class. | |
| SshClient(String, Int32, String, PrivateKeyFile) | Initializes a new instance of the SshClient class. | |
| SshClient(String, Int32, String, String) | Initializes a new instance of the SshClient class. |
| Name | Description | |
|---|---|---|
| EthernetAdapter | Returns the Ethernet adapter on which the socket resides EthernetAdapterType.EthernetLANAdapter indicates that the socket is on the LAN Adapter EthernetAdapterType.EthernetCSAdapter indicates the Control Subnet side (for a system with a router) EthernetAdapterType.EthernetUnknownAdapter indicates that the socket is not initialized as yet EthernetAdapterType.EthernetLAN2Adapter indicates the second LAN Adapter | |
| ForwardedPorts | Gets the list of forwarded ports. | |
| IsConnected |
Gets a value indicating whether this client is connected to the server.
(Inherited from BaseClient) | |
| KeepAliveInterval |
Gets or sets the keep alive interval in seconds.
(Inherited from BaseClient) |
| Name | Description | |
|---|---|---|
| AddForwardedPort | Adds the forwarded port. | |
| Connect |
Connects client to the server.
(Inherited from BaseClient) | |
| CreateCommand(String) | Creates the command to be executed. | |
| CreateCommand(String, Encoding) | Creates the command to be executed with specified encoding. | |
| CreateShell(Stream, Stream, Stream) | Creates the shell. | |
| CreateShell(Encoding, String, Stream, Stream) | Creates the shell. | |
| CreateShell(Stream, Stream, Stream, String, UInt32, UInt32, UInt32, UInt32, IDictionaryTerminalModes, UInt32) | Creates the shell. | |
| CreateShell(Encoding, String, Stream, Stream, String, UInt32, UInt32, UInt32, UInt32, IDictionaryTerminalModes, UInt32) | Creates the shell. | |
| CreateShell(Stream, Stream, Stream, String, UInt32, UInt32, UInt32, UInt32, IDictionaryTerminalModes, UInt32, Int32) | Creates the shell. | |
| CreateShell(Encoding, String, Stream, Stream, String, UInt32, UInt32, UInt32, UInt32, IDictionaryTerminalModes, UInt32, Int32) | Creates the shell. | |
| CreateShellStream(String, UInt32, UInt32, UInt32, UInt32, Int32) | Creates the shell stream. | |
| CreateShellStream(String, UInt32, UInt32, UInt32, UInt32, Int32, IDictionaryTerminalModes, UInt32) | Creates the shell stream. | |
| Disconnect |
Disconnects client from the server.
(Inherited from BaseClient) | |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged ResourceMessages.
(Inherited from BaseClient) | |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
(Overrides BaseClientDispose(Boolean)) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Releases unmanaged resources and performs other cleanup operations before the
BaseClient is reclaimed by garbage collection.
(Inherited from BaseClient) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnConnected |
Called when client is connected to the server.
(Inherited from BaseClient) | |
| OnConnecting |
Called when client is connecting to the server.
(Inherited from BaseClient) | |
| OnDisconnected |
Called when client is disconnected from the server.
(Overrides BaseClientOnDisconnected) | |
| OnDisconnecting |
Called when client is disconnecting from the server.
(Overrides BaseClientOnDisconnecting) | |
| RemoveForwardedPort | Stops and removes the forwarded port from the list. | |
| RunCommand | Creates and executes the command. | |
| SendKeepAlive |
Sends keep-alive message to the server.
(Inherited from BaseClient) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| ErrorOccurred |
Occurs when an error occurred.
(Inherited from BaseClient) | |
| HostKeyReceived |
Occurs when host key received.
(Inherited from BaseClient) |