mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-31 03:27:49 +08:00
* [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>