Implement "env" command for internal ssh #6889
Labels
type/enhancement
An improvement of existing functionality
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Currently we ignore env passed via SSH. This even create some bug on windows without env local command.
We need to (re-)implement the part (that did nothing) disabled in #6825 via filling an array of env variable to be set to cmd.Env for later call of exec.
The tricky part of this implemntation is that we should filter and sanitize some variables and input passed to this command.
If you think of env variable that we should filter, please comment this issue.
The text was updated successfully, but these errors were encountered: