SshClient MethodsSSH .NET Client Library Documentation
The SshClient type exposes the following members.
Methods

  NameDescription
Public methodAddForwardedPort
Adds the forwarded port.
Public methodConnect
Connects client to the server.
(Inherited from BaseClient.)
Public methodCreateCommand(String)
Creates the command to be executed.
Public methodCreateCommand(String, Encoding)
Creates the command to be executed with specified encoding.
Public methodCreateShell(Stream, Stream, Stream)
Creates the shell.
Public methodCreateShell(Encoding, String, Stream, Stream)
Creates the shell.
Public methodCreateShell(Stream, Stream, Stream, String, UInt32, UInt32, UInt32, UInt32, IDictionary TerminalModes, UInt32 )
Creates the shell.
Public methodCreateShell(Stream, Stream, Stream, String, UInt32, UInt32, UInt32, UInt32, IDictionary TerminalModes, UInt32 , Int32)
Creates the shell.
Public methodCreateShell(Encoding, String, Stream, Stream, String, UInt32, UInt32, UInt32, UInt32, IDictionary TerminalModes, UInt32 )
Creates the shell.
Public methodCreateShell(Encoding, String, Stream, Stream, String, UInt32, UInt32, UInt32, UInt32, IDictionary TerminalModes, UInt32 , Int32)
Creates the shell.
Public methodCreateShellStream(String, UInt32, UInt32, UInt32, UInt32, Int32)
Creates the shell stream.
Public methodCreateShellStream(String, UInt32, UInt32, UInt32, UInt32, Int32, IDictionary TerminalModes, UInt32 )
Creates the shell stream.
Public methodDisconnect
Disconnects client from the server.
(Inherited from BaseClient.)
Public methodDispose 
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged ResourceMessages.
(Inherited from BaseClient.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Overrides BaseClient Dispose(Boolean).)
Protected methodEnsureConnection
Ensures that client is connected.
(Inherited from BaseClient.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the BaseClient is reclaimed by garbage collection.
(Inherited from BaseClient.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnConnected
Called when client is connected to the server.
(Inherited from BaseClient.)
Protected methodOnConnecting
Called when client is connecting to the server.
(Inherited from BaseClient.)
Protected methodOnDisconnected
Called when client is disconnected from the server.
(Inherited from BaseClient.)
Protected methodOnDisconnecting
Called when client is disconnecting from the server.
(Overrides BaseClient OnDisconnecting .)
Public methodRemoveForwardedPort
Stops and removes the forwarded port from the list.
Public methodRunCommand
Creates and executes the command.
Public methodSendKeepAlive
Sends keep-alive message to the server.
(Inherited from BaseClient.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
See Also