The SshSession type exposes the following members.

Methods

  Name Description
Public method Connect()()()()
Establishes connection with SSH server and performs login.
Public method Connect(Int64)
Establishes connection with SSH server and performs login.
Public method Disconnect
Disconnects from SSH server.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Send(String)
Sends command to SSH host terminated by command terminator. Waits until the shell prompt is returned by SSH server buffering response data.
Public method Send(String, Int64)
Sends command to SSH host terminated by command terminator. Waits until the shell prompt is returned by SSH server buffering response data.
Public method SendNoWait
Sends data to SSH host with command terminator. Does not wait for shell prompt to be returned.
Public method SendRaw
Sends data to SSH host without command terminator. Does not wait for shell prompt to be returned.
Public method SendWait(String, String)
Sends command to SSH host terminated by command terminator. Waits until specified prompt is returned by SSH server buffering response data.
Public method SendWait(String, String, Boolean)
Sends command to SSH host terminated by command terminator. Waits until specified prompt is returned by SSH server buffering response data.
Public method SendWait(String, String, Int64)
Sends command to SSH host terminated by command terminator. Waits until specified prompt is returned by SSH server buffering response data.
Public method SendWait(String, String, Boolean, Int64)
Sends command to SSH host terminated by command terminator. Waits until specified prompt is returned by SSH server buffering response data.
Public method SetShellPrompt
Sets shell prompt to wait for before sending commands.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also