You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SSH Client Stream - No notification of remote closed #507
We have a use case where we need to open an SSH client to a remote host and communicate as a stream - i.e. it's not a command/response.
This works fine with CreateShellStream() and the DataReceived event handles incoming unsolicited data.
However, we're seeing the remote end is sometimes closed (gracefully - we see the FIN/ACK in wireshark), but our local end doesn't get any notification event raised. At worst I was hoping we'd get an ErrorOccured event on either the client or the stream, but nope.
The first we find out is a call to IsConnected returning false - and polling isn't cool.
Is this a deficiency of the library or am I doing something wrong. I'd read the docs... if there were any ;)
Reacted by Joshua Weinberg, Stephen M. Coakley, kspang and Benedikt Lenzen
Activity
Rob-Hague commentedon Oct 19, 2026
added in #1332 / 2024.0.0