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
I'd suggest the channel to keep track of the channel being explicitly closed by the user or third party. When it is explicitly closed, I'd send the "cancel-tcpip-forward" global request as described on RFC 4254 page 17. This way, the user does not need to concern itself with protocol specific knowledge. This allows libraries to wrap a channel without requiring awareness of the SSH protocol.
The text was updated successfully, but these errors were encountered:
tcpip-forward is one connection, but there may be many when doing reverse port forwarding. We only know when to send cancel when the server channel is closed, and we didn’t create it so we don’t know when it goes away.
We can provide a default delegate that handles this though.
I'd suggest the channel to keep track of the channel being explicitly closed by the user or third party. When it is explicitly closed, I'd send the "cancel-tcpip-forward" global request as described on RFC 4254 page 17. This way, the user does not need to concern itself with protocol specific knowledge. This allows libraries to wrap a channel without requiring awareness of the SSH protocol.
The text was updated successfully, but these errors were encountered: