| Summary: | When processing the command parameter, stderr output results in Packet Integrity Error | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Andrew.Dean |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED INVALID | ||
| Severity: | major | ||
| Priority: | P5 | ||
| Version: | 7.6p1 | ||
| Hardware: | ARM64 | ||
| OS: | Windows 10 | ||
Was informed that this bug actually belonged here: https://github.com/PowerShell/Win32-OpenSSH/issues/1530 closing resolved bugs as of 8.6p1 release |
Given this program (RepeatErr): #include <iostream> int main(int argc, char** argv) { for (int i = 1; i < argc; ++i) { std::cout << argv[i] << std::endl; std::cerr << argv[i] << std::endl; } return 0; } Invoke it this way (ssh running on windows, x64. sshd running on windows, ARM64): ssh -l <user> <ipAddress> "c:\Path\To\RepeatErr.exe 1 2 3" EXPECT: output to be 1 2 3 1 2 3 ACTUAL: output is 1 Packet integrity error (4 bytes remaining) at C:\\OpenSSH\\contrib\\win32\\openssh\\..\\..\\..\\channels.c:2916 Disconnecting <ipAddress> port 22: Packet integrity error. NOTES: sshd on ARM64 has File version 7.6.0.0, Product Version "OpenSSH_7.6p1 for Windows" I have tried this scenario where ssh is running on Windows x64 and sshd is running on Ubuntu x64 (WSL), and I received the expected output.