Page 1 of 1

SSH Client event - connection to server lost.

Posted: Wed 26 Jul 2017 22:02
by cube
Is there a way of trapping the event of an SSH Client losing a connection to a server? At the moment, I am getting an access violation in the System.Classes ThreadProc function if the server dies for any reason.

Re: SSH Client event - connection to server lost.

Posted: Thu 27 Jul 2017 14:37
by ViktorV
To solve the issue, you can try to use the event handler TScSSHClient.AfterDisconnect: https://www.devart.com/sbridge/docs/ind ... onnect.htm