SSH: Fix an issue with reverse connection
- Fix an incorrect implementation in the SSH native integration with reverse connection
- Update test that was testing incorrectly
release backport here: !7025 (merged)
Edited by Mathieu Westphal (Kitware)
release backport here: !7025 (merged)