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] Improve the output of tsh sessions ls #45453

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

zmb3
Copy link
Collaborator

@zmb3 zmb3 commented Aug 13, 2024

Backport #44496 to branch/v15

changelog: Improve the output of tsh sessions ls.

- Rename "hostname" to target, which now includes the OS-user for SSH
  sessions and a more accurate description of the target for other
  kinds of sessions.
- Remove the "login" column, as this info is now included in the
  "target" column.
- Humanize the created time rather than showing a UTC timestamp.
  The tsh sessions ls command is most commonly used to get the ID
  of a session you want to join, so people are looking for clues
  as to which session is the right one, they don't need precise UTC
  timestamps.
- Remove the "command" column, as it's typically only set for
  non-interactive sessions. Note: the command will be placed in
  the "address" column for kube sessions.

Closes #42253
@github-actions github-actions bot added backport size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Aug 13, 2024
@github-actions github-actions bot requested review from avatus, r0mant and tigrato August 13, 2024 22:47
@zmb3 zmb3 added this pull request to the merge queue Aug 14, 2024
Merged via the queue into branch/v15 with commit 119e15d Aug 14, 2024
32 checks passed
@zmb3 zmb3 deleted the bot/backport-44496-branch/v15 branch August 14, 2024 14:45
@fheinecke fheinecke mentioned this pull request Aug 23, 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.

4 participants