* [v13] tsh: Implement puttyconfig command to add saved PuTTY sessions to Windows registry
* docs: `tsh puttyconfig`
* docs: Minor cosmetic tweaks to tsh puttyconfig (#29831)
Fixes an extra full stop and tenant name which was included accidentally.
* puttyconfig: Switch to string-based Validity format and deprecate MatchHosts (#32598)
* puttyconfig: Switch to string-based Validity format and deprecate MatchHosts
* Switch to more restrictive, reliable parsing
* Add validity string errors to docs
* Remove invalid test case
* Add test case
* Remove any spaces from user-provided input and use sanitized hostname
* Apply fixes from code review
* Tidy up errors, provide consistent detail about which field contains an error
* Disable docs lint for dots in heading
This is needed here, as there are 5 error messages which all start the same way but end differently.
* Catch a few more error cases
* Only delete old MatchHosts key after new Validity key has been written successfully
* Apply suggestions from code review
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
* Address Zac's comments from code review
---------
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
* Add tsh puttyconfig to CLI reference
* Add winscp to cspell whitelist
* Add WinSCP to PuTTY client instructions (#32868)
* Remove duplicate tsh puttyconfig from CLI reference
* Fix link to CLI reference
---------
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Adds instructions to the PuTTY client documentation on how to configure WinSCP to connect using saved sessions and host CAs from
tsh puttyconfig.Note: These docs should not be merged until WinSCP 6.2 beta is released (which should be this week)