Files
teleport/api/utils/keypaths
Nic KlaassenandRafał Cieślak a61a4874c7 [vnet] feat: add SSH configuration diagnostic (#55594)
* [vnet] feat: add SSH configuration diagnostic

This commit adds a VNet diagnostic that reports whether the default user
OpenSSH config file (`~/.ssh/config`) includes VNet's generated SSH
config file.

* fix lint

* fix license

* Render paths as code, use TextSelectCopy for snippet

* add code stying for path

* add ssh report to diag story

* handle ~/.ssh/config not existing

* handle unescaped windows path separators and single quotes

* fix typo in comment

* Diag report story: Include error when sshConfigAttempt is set to "error"

* read ~/.ssh/config as part of the diag instead of abusing cat

* fix lint

---------

Co-authored-by: Rafał Cieślak <rafal.cieslak@goteleport.com>
2025-06-18 22:20:50 +00:00
..