This project is read-only.

Event Driven SshClient

Jun 5, 2015 at 5:58 PM
Hi,
Currently using Ssh.net sucessfully, I just want to be able to detect a server's disconnection
Is it possible to add a handler in sshclient which would fire a sshclient.Disconnected event when server sends a SSH_MSG_CHANNEL_CLOSE message ?
I tried with Putty, it closes when server disconnects

More generally, do you plan to add a full implementation of Ssh events in sshclient class like connecting, Connected, ....
It would give better threading than waiting for "isconnected" property state
These are mostly present in sshsession class but not available for sshclient

Anyway, best regards for this great job

Alain