Skip to content

[v16] Support double dash delimiter in tsh ssh#47493

Merged
rosstimothy merged 3 commits intobranch/v16from
bot/backport-46441-branch/v16
Nov 4, 2024
Merged

[v16] Support double dash delimiter in tsh ssh#47493
rosstimothy merged 3 commits intobranch/v16from
bot/backport-46441-branch/v16

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #46441 to branch/v16

changelog: Update tsh ssh to support the -- delimiter similar to openssh. It is now possible to execute a command via tsh ssh user@host -- echo test or tsh ssh -- host uptime

ns-sjorgedeaguiar and others added 3 commits September 11, 2024 20:23
This PR extends the tsh ssh command by adding support for the
double dash (--) delimiter before remote commands (e.g.
`tsh ssh -- echo test`), aligning its behavior with the standard
ssh binary. This improves compatibility with tools that rely on the
standard ssh binary behavior, such as sshuttle.

Fixes #18453, #16589.

Signed-off-by: Tim Ross <tim.ross@goteleport.com>
This PR extends the tsh ssh command by adding support for the
double dash (--) delimiter before remote commands (e.g.
`tsh ssh -- echo test`), aligning its behavior with the standard
ssh binary. This improves compatibility with tools that rely on the
standard ssh binary behavior, such as sshuttle.

Fixes #18453, #16589.

Signed-off-by: Tim Ross <tim.ross@goteleport.com>
@rosstimothy rosstimothy marked this pull request as ready for review October 11, 2024 16:20
@github-actions github-actions Bot added backport size/md tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Oct 11, 2024
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from probakowski October 14, 2024 09:42
@rosstimothy rosstimothy added this pull request to the merge queue Nov 4, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 4, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Nov 4, 2024
Merged via the queue into branch/v16 with commit 9a418f2 Nov 4, 2024
@rosstimothy rosstimothy deleted the bot/backport-46441-branch/v16 branch November 4, 2024 20:19
@camscale camscale mentioned this pull request Nov 11, 2024
@fheinecke fheinecke mentioned this pull request Apr 9, 2025
@fheinecke fheinecke mentioned this pull request Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport size/md 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.

4 participants