Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v15] Remove client side port guessing from tsh puttyconfig #44573

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

rosstimothy
Copy link
Contributor

@rosstimothy rosstimothy commented Jul 23, 2024

Backport #44478 to branch/v15

changelog: Use the registered port of the target host when tsh puttyconfig is invoked without --port.

If no port was provided puttyconfig would default to 3022. That
is not guaranteed to be the correct port and causes UX issues. To
allow the port to be optional and guarantee the correct port is
used puttyconfig is updated to use 0 instead of 3022. This is a
special port that indicates to Teleport to use whatever port is
defined in the node when making dial request. Since the value
from puttyconfig is fed into tsh proxy ssh this value is honored
by Teleport during connections.
@github-actions github-actions bot requested review from espadolini and zmb3 July 23, 2024 20:16
@github-actions github-actions bot added backport size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Jul 23, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Jul 24, 2024
Merged via the queue into branch/v15 with commit 9adafe7 Jul 24, 2024
32 checks passed
@rosstimothy rosstimothy deleted the bot/backport-44478-branch/v15 branch July 24, 2024 12:54
@camscale camscale mentioned this pull request Jul 29, 2024
This was referenced Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 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.

3 participants