The Ssh type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Ssh()()()() |
Creates a new Ssh client instance.
|
![]() |
Ssh(SshParameters) |
Creates a new Ssh client instance with default configuration.
|
![]() |
Ssh(SshParameters, SshConfiguration) |
Creates a new Ssh client instance.
|
Methods
Name | Description | |
---|---|---|
![]() |
Connect |
Connects to SSH server.
|
![]() |
Disconnect |
Closes open connection.
|
![]() |
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.) |
![]() |
GetStream |
Returns the channel stream.
|
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
RequestExec |
Method requestExec request the SSH server to start the execution of the given command.
The command string may contain a path.
|
![]() |
RequestPty(String, Int32, Int32) |
Method RequestPty allocates a pseudo-terminal for the session.
|
![]() |
RequestPty(String, Int32, Int32, array<ITerminalMode>[]()[][]) |
Method RequestPty allocates a pseudo-terminal for the session.
|
![]() |
RequestShell |
Method RequestShell request the user's default shell.
|
![]() |
ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Fields
Properties
Name | Description | |
---|---|---|
![]() |
Connected |
Checks if the client is still connected
|
![]() |
Debug |
The debug flag.
|
![]() |
DebugStream |
The debug stream.
|
![]() |
Echo |
SSH echo flag.
|
![]() |
HostKeys |
Gets SSH host keys for further use.
|
![]() |
Hostname |
The server hostname.
|
![]() |
InitReader |
The reader flag.
|
![]() |
LicenseKey |
License key.
|
![]() |
Parameters |
The connection parameters.
|
![]() |
Password |
The current user password.
|
![]() |
Port |
The server port.
|
![]() |
PrivateKey |
The current user key file.
|
![]() |
TerminalType |
The terminal type.
|
![]() |
Timeout |
The connection timeout defined in milliseconds.
|
![]() |
Username |
The current username.
|
Events
Name | Description | |
---|---|---|
![]() |
ConnectionClosed | |
![]() |
SshConnectedEvent |
Occurs after a successful connection to the SSH server.
|
![]() |
SshDataEvent |
Occurs when data has been received from SSH server.
|
![]() |
SshDisconnectedEvent |
Occurs after connection is released from ssh server.
|