Hi all,I've got an app that launches executables on a remote machine using ssh_channel_request_exec(). How can I detect when the remote end is no longer available due to the cable being unplugged etc? When the cable is removed:
ssh_channel_is_eof() returns 0 ssh_is_connected() returns 1 ssh_get_status() returns 0 signalling everything is OK.I can detect when the remote end is rebooted (nicely), but not when it becomes otherwise unreachable. I'm using libssh 0.5.2.
Thanks, Peter
