Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsnipSSHClient.Start

procedure Start; virtual;
Opens the SSH session channel on SSHClient, which must be logged in, waits for the server to confirm it (see ChannelOpenTimeout), requests the snip subsystem on it and assigns the snip connection built on it to ClassClient.Connection. Does nothing when Active is already True or ClassClient is not assigned. When it fails it raises, with Active False, and frees the snip connection it had begun to build. If the server had opened the channel - and then refused the snip subsystem, closed the channel, or answered with something other than its accept - Start closes the channel again, and the SSH connection stays up.