Skip to content

Fixed issue with binary input stream over ssh #153

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

Merged
merged 1 commit into from
Jun 2, 2017
Merged

Conversation

manojampalam
Copy link

@manojampalam manojampalam commented May 30, 2017

PowerShell/Win32-OpenSSH#658

Manually tested for now. Test case needs to be added tracked as PowerShell/Win32-OpenSSH#740

Also includes changes to HLA ppt

process_input = TRUE;
else {
command_len = wcsnlen_s(command, MAX_CMD_LEN);
if ((command_len >= 3 && wcsncmp(command, L"cmd", 4) == 0) ||

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about powershell?
.\ssh.exe [email protected] powershell

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The input processing logic is exclusively for cmd.exe. Powershell is a shell processor/interpreter in itself. It should not be included here to give it independence to do whatever it wants with the input stream (ex. it could support direction keys, etc).

@manojampalam manojampalam reopened this May 30, 2017
@manojampalam manojampalam merged commit fb192e8 into latestw_all Jun 2, 2017
@manojampalam manojampalam deleted the issue658 branch June 8, 2017 18:50
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

Successfully merging this pull request may close these issues.

3 participants