Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

Commit

Permalink
Exec request bug (#11)
Browse files Browse the repository at this point in the history
This release fixes a bug where Exec requests would be rejected due to faulty refactoring in the previous release.

Currently, there is no test for this scenario, but later on, a full test suite for supported SSH requests is desired.
  • Loading branch information
Janos Pasztor authored Dec 11, 2020
1 parent 54a5f89 commit 0116211
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.9.11: Exec request bug

This release fixes a bug where Exec requests would be rejected due to faulty refactoring in the previous release.

Currently, there is no test for this scenario, but later on, a full test suite for supported SSH requests is desired.

## 0.9.10: Bugfixing request decoding

In the previous versions of this library the fields in the structures related to SSH requests (e.g. env) were not exported. This caused the ssh unmarshal to fail, but this was not tested previously. We have now changed the fields to be exported and sending requests has now been added to the test scope. More test cases are desirable in future.
Expand Down
2 changes: 1 addition & 1 deletion server_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ const (
requestTypeEnv requestType = "env"
requestTypePty requestType = "pty"
requestTypeShell requestType = "shell"
requestTypeExec requestType = "Exec"
requestTypeExec requestType = "exec"
requestTypeSubsystem requestType = "Subsystem"
requestTypeWindow requestType = "window-change"
requestTypeSignal requestType = "Signal"
Expand Down

0 comments on commit 0116211

Please sign in to comment.