Skip to content

[v18] Add fork after authentication for tsh ssh#55893

Merged
rosstimothy merged 2 commits intobranch/v18from
atburke/v18/ssh-fork-auth
Jun 26, 2025
Merged

[v18] Add fork after authentication for tsh ssh#55893
rosstimothy merged 2 commits intobranch/v18from
atburke/v18/ssh-fork-auth

Conversation

@atburke
Copy link
Copy Markdown
Contributor

@atburke atburke commented Jun 18, 2025

Backport #54696 to branch/v18

Changelog: Added fork after authentication to tsh ssh

This change adds fork after authentication support
to tsh ssh.
@github-actions github-actions Bot added backport size/lg tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Jun 18, 2025
@atburke
Copy link
Copy Markdown
Contributor Author

atburke commented Jun 19, 2025

dnm until after testplan

@camscale
Copy link
Copy Markdown
Contributor

@atburke b3a3066 can be cherry-picked into this PR for the arm64 build fix. Master successfully built overnight.

* tsh: Add wrapper for syscall.Dup2 for linux/arm64

Add a wrapper for `syscall.Dup2()` as linux ARM64 does not have that
syscall. On that platform, `syscall.Dup3()` needs to be used instead.

Fixes: 57c909d

* Implement dup2 with syscall.Dup3 on all linux platforms

* Add explicit "unix" constraint to dup2_unix.go to ensure Windows is excluded
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from avatus June 26, 2025 14:51
@rosstimothy rosstimothy added this pull request to the merge queue Jun 26, 2025
Merged via the queue into branch/v18 with commit 88b6163 Jun 26, 2025
43 checks passed
@rosstimothy rosstimothy deleted the atburke/v18/ssh-fork-auth branch June 26, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

5 participants