Skip to content

Support -oSendEnv in tsh#53010

Merged
Tener merged 3 commits intomasterfrom
tener/tsh-send-env
Mar 20, 2025
Merged

Support -oSendEnv in tsh#53010
Tener merged 3 commits intomasterfrom
tener/tsh-send-env

Conversation

@Tener
Copy link
Copy Markdown
Contributor

@Tener Tener commented Mar 12, 2025

The support was already there in the underlying client library, just not exposed in tsh.

$ FOO=bar tsh ssh -oSendEnv=FOO node env | grep FOO
FOO=bar

Closes #6001.

changelog: Add support for SendEnv OpenSSH option in tsh.

@github-actions github-actions Bot added size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Mar 12, 2025
@zmb3
Copy link
Copy Markdown
Collaborator

zmb3 commented Mar 12, 2025

Do we need to account for any of the changes in #36132?

@Tener
Copy link
Copy Markdown
Contributor Author

Tener commented Mar 12, 2025

Do we need to account for any of the changes in #36132?

I don't think so. If we were to add any kind of filtering it wouldn't be very effective, there are some very easy ways around that.

@Tener
Copy link
Copy Markdown
Contributor Author

Tener commented Mar 14, 2025

ping @capnspacehook @fspmarshall

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from capnspacehook March 19, 2025 19:10
@Tener Tener added this pull request to the merge queue Mar 20, 2025
Merged via the queue into master with commit 7d7e9d3 Mar 20, 2025
40 checks passed
@Tener Tener deleted the tener/tsh-send-env branch March 20, 2025 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v17 backport-required size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support of SendEnv OpenSSH option to teleport client (tsh)

5 participants