Unit
ScSSHChannel
Description
TScSSHShell is responsible for opening the shell on remote side. Usually, there is only one shell logical connection established during secure session. Physically secure connection is provided by SSH client that can be assigned to the Client property.
There are two ways to use this component. The first way is to execute a command with the ExecuteCommand method.
The second way is connection in NonBlocking mode. Set NonBlocking to True, Connect to the server, send commands to the server using the WriteString method. The OnAsyncReceive event notifies that some data from the server was received. Use the ReadString method to read it.
See Also