-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add --invite and --reason to tsh ssh #42325
Conversation
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
a73162f
to
54f26f2
Compare
🤖 Vercel preview here: https://docs-omcwt5pxt-goteleport.vercel.app/docs/ver/preview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the docs side
Note that you can share terminal sessions using any Teleport edition. However, you must | ||
have Teleport Enterprise or Teleport Enterprise Cloud if you want to require active | ||
Note that you can share terminal sessions using any Teleport edition. However, you must | ||
have Teleport Enterprise or Teleport Enterprise Cloud if you want to require active |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have Teleport Enterprise or Teleport Enterprise Cloud if you want to require active | |
have Teleport Enterprise if you want to require active |
Fixing linter warning
🤖 Vercel preview here: https://docs-2lr9ukxg8-goteleport.vercel.app/docs/ver/preview |
54f26f2
to
867f950
Compare
🤖 Vercel preview here: https://docs-4sh58dll9-goteleport.vercel.app/docs/ver/preview |
These flags are part of the moderated sessions feature and are used to update the session tracker resource. As mentioned in the RFD, they were supposed to be added to `tsh kube exec` and `tsh ssh`. While `tsh kube exec` works as intended, for SSH we mistakenly added these flags to `tsh join`. As a result, these flags were effectively no-ops for SSH sessions. Additionally, the environment variable used to propagate session invite information was incorrect named "JOIN_MODE" presumably due to a copy-paste error. This has been fixed, but we will continue to check the old env var for 1 major release to maintain backwards compatibility. Closes #42255
867f950
to
7f3367e
Compare
🤖 Vercel preview here: https://docs-ntlszu65t-goteleport.vercel.app/docs/ver/preview |
Move --reason and --invite to tsh ssh
These flags are part of the moderated sessions feature and are
used to update the session tracker resource. As mentioned in the
RFD, they were supposed to be added to
tsh kube exec
andtsh ssh
.While
tsh kube exec
works as intended, for SSH we mistakenly addedthese flags to
tsh join
. As a result, these flags were effectivelyno-ops for SSH sessions.
Additionally, the environment variable used to propagate session
invite information was incorrect named "JOIN_MODE" presumably due
to a copy-paste error. This has been fixed, but we will continue
to check the old env var for 1 major release to maintain backwards
compatibility.
Closes #42255