Skip to content

Implement "env" command for internal ssh #6889

Open
@sapk

Description

@sapk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions