Discuss this help topic in SecureBlackbox Forum
Get access to the underlying SSH and socket objects from TElSimpleSSHServer
Sometimes you need to read or adjust properties of the low-level classes, incapsulated in TElSimpleSSHServer.
TElSimpleSSHServer is mainly an event-driven class, i.e. your tune-up it, start the server, and then handle various events. In all events of TElSimpleSSHServer the first argument, Sender, is an instance of TElSimpleSSHServerSessionThread class. TElSimpleSSHServerSessionThread has read-only properties such as Owner (TElSimpleSSHServer), Socket (TElSocket) and SSHServer (TElSSHServer) which you can use for your purposes.