Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomSSHClient.RequestService

function RequestService(const aServiceName: string): Boolean;
Sends an SSH service-request for an arbitrary service name after ConnectToHost. Login already requests 'ssh-userauth' and 'ssh-connection' for you, so an app only needs this to reach a non-standard service; requesting 'ssh-connection' here also spins up the channel Broker. A Close from another thread cancels it as it cancels ConnectToHost, and then no Broker is made.