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
Nested SSH process hanging when launched with pipes #1748
"OpenSSH for Windows" version
OpenSSH_for_Windows_8.1p1
Server OperatingSystem
Windows 10.0.17763
Client OperatingSystem
Windows 10.0.17763
What is failing
Applications/scripts being run through SSH that then launch an SSH process through CreateProcess, subprocess, Popen, etc. using pipes fail to complete as expected. This is occurring in both a C++ application and a Python script. Attached is my Python script for recreating. The script is being launched with the following line:
If I kill the nested SSH process, the calling script or application print the expected output and finish gracefully. Looking at the debug output from the offending SSH process, the last line I see is:
jameymorris, did you find a work-around for this?
It seems I'm running into the exact same issue after a recent update to the Windows Server 2019 update of OpenSSH.
Activity
mtoftdal commentedon Oct 10, 2024
jameymorris, did you find a work-around for this?
It seems I'm running into the exact same issue after a recent update to the Windows Server 2019 update of OpenSSH.