Skip to content

[v14] Support double dash delimiter in tsh ssh#47495

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

[v14] Support double dash delimiter in tsh ssh#47495
rosstimothy merged 3 commits intobranch/v14from
bot/backport-46441-branch/v14

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #46441 to branch/v14

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:21
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
Merged via the queue into branch/v14 with commit 699817a Nov 4, 2024
@rosstimothy rosstimothy deleted the bot/backport-46441-branch/v14 branch November 4, 2024 19:59
@camscale camscale mentioned this pull request Nov 28, 2024
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