[Bug 3105] New: When processing the command parameter, stderr output results in Packet Integrity Error

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Dec 19 07:06:49 AEDT 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=3105

            Bug ID: 3105
           Summary: When processing the command parameter, stderr output
                    results in Packet Integrity Error
           Product: Portable OpenSSH
           Version: 7.6p1
          Hardware: ARM64
                OS: Windows 10
            Status: NEW
          Severity: major
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: Andrew.Dean at microsoft.com

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.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list