The SshSession type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SshSession(SshParameters) |
Creates a new session instance.
|
![]() |
SshSession(SshParameters, SshConfiguration) | |
![]() |
SshSession(String, String, String) |
Creates a new session instance.
|
![]() |
SshSession(String, Int32, String, String) |
Creates a new session instance.
|
Methods
Name | Description | |
---|---|---|
![]() |
Connect()()()() |
Establishes connection with SSH server and performs login.
|
![]() |
Connect(Int64) |
Establishes connection with SSH server and performs login.
|
![]() |
Disconnect |
Disconnects from SSH server.
|
![]() |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) |
![]() |
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.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(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.) |
![]() |
Send(String) |
Sends command to SSH host terminated by command terminator.
Waits until the shell prompt is returned by SSH server buffering response data.
|
![]() |
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.
|
![]() |
SendNoWait |
Sends data to SSH host with command terminator.
Does not wait for shell prompt to be returned.
|
![]() |
SendRaw |
Sends data to SSH host without command terminator.
Does not wait for shell prompt to be returned.
|
![]() |
SendWait(String, String) |
Sends command to SSH host terminated by command terminator.
Waits until specified prompt is returned by SSH server buffering response data.
|
![]() |
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.
|
![]() |
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.
|
![]() |
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.
|
![]() |
SetShellPrompt |
Sets shell prompt to wait for before sending commands.
|
![]() |
ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() |
DEFAULT_COMMAND_TERMINATOR |
The default command terminator value of \n (line feed)
|
![]() ![]() |
DEFAULT_SHELL_PROMPT |
The default shell prompt value of $
|
Properties
Name | Description | |
---|---|---|
![]() |
CommandTerminator |
The command terminator string.
|
![]() |
Debug |
The debug flag.
|
![]() |
DebugStream |
The debug output stream.
|
![]() |
Echo |
SSH echo flag.
|
![]() |
LicenseKey |
License key.
|
![]() |
ShellPrompt |
The shell prompt string.
|
![]() |
Ssh |
The Ssh client instance.
|