Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When processing the command parameter, stderr output results in Packet Integrity Error #1530

Closed
AndrewDeanMS opened this issue Dec 18, 2019 · 2 comments
Assignees

Comments

@AndrewDeanMS
Copy link

AndrewDeanMS commented Dec 18, 2019

"OpenSSH for Windows" version
7.6.0.0

Server OperatingSystem
WIndows 10 Enterprise (ARM64)

Client OperatingSystem
Windows 10 Enterprise (x64)

What is failing
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"

Expected output

1
2
3
1
2
3

Actual output

1
Packet integrity error (4 bytes remaining) at C:\\OpenSSH\\contrib\\win32\\openssh\\..\\..\\..\\channels.c:2916
Disconnecting <ipAddress> port 22: Packet integrity error.

Notes
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.

@bagajjal
Copy link
Collaborator

@AndrewDeanMS - Please try the latest version 8.0.0.1

@AndrewDeanMS
Copy link
Author

Tried the latest version, and this issue has been resolved.

@bagajjal bagajjal self-assigned this Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants