Skip to content

[v13] Fix port forwarding when using a label based target#26701

Merged
rosstimothy merged 1 commit intobranch/v13from
bot/backport-26394-branch/v13
May 22, 2023
Merged

[v13] Fix port forwarding when using a label based target#26701
rosstimothy merged 1 commit intobranch/v13from
bot/backport-26394-branch/v13

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #26394 to branch/v13

Label based connections that do not provide a command and open a
shell for the first match were only performing a portion of the logic
that non label based interactive sessions were. Instead of connecting
directly to a host and opening a session, `tc.runShellOrCommandOnSingleNode`
is called to achieve the same behavior as non label based connections.

In addition to fixing #23261 this should also add support for `-N` in
the same scenario.
@rosstimothy rosstimothy marked this pull request as ready for review May 22, 2023 16:56
@github-actions github-actions Bot requested review from kimlisa and r0mant May 22, 2023 16:56
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from r0mant May 22, 2023 18:59
@rosstimothy rosstimothy added this pull request to the merge queue May 22, 2023
Merged via the queue into branch/v13 with commit 0690d49 May 22, 2023
@rosstimothy rosstimothy deleted the bot/backport-26394-branch/v13 branch May 22, 2023 19:44
@r0mant r0mant mentioned this pull request Jul 14, 2023
@fheinecke fheinecke mentioned this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants