Skip to content

[v17] Improve tsh debug messages with client version output#61526

Merged
codingllama merged 1 commit intobranch/v17from
codingllama/backport/60297-v17
Nov 19, 2025
Merged

[v17] Improve tsh debug messages with client version output#61526
codingllama merged 1 commit intobranch/v17from
codingllama/backport/60297-v17

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

Backport #60297 to branch/v17

changelog: Updated tsh debug output to include tsh client version when --debug flag is set

* Added client version output when --debug flag is added to tsh commands

* Moved client version output to logger

* Altered tsh client version output to match tbot's, added test coverage

* Updated test to check versions in output
@github-actions github-actions bot added backport size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Nov 19, 2025
@codingllama
Copy link
Copy Markdown
Contributor Author

Tested manually too:

$ TELEPORT_TOOLS_VERSION=off build/tsh login -d
2025-11-19T12:05:18.587-03:00 INFO [TSH]       Initializing tsh version.teleport:17.7.10 version.teleport_git:api/v18.0.0-dev.gzdunek.7-2141-g8ada41b88c version.go:go1.25.4 trace_id:b0d7c72d1bff5acafd516f6746da1b8e span_id:f1a9f955ec10eb5e common/tsh.go:1575
(...)

@codingllama codingllama added this pull request to the merge queue Nov 19, 2025
Merged via the queue into branch/v17 with commit eea37a1 Nov 19, 2025
40 checks passed
@codingllama codingllama deleted the codingllama/backport/60297-v17 branch November 19, 2025 16:31
@doggydogworld doggydogworld mentioned this pull request Dec 8, 2025
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