* ssh: Ensure debug messages are properly converted to text. Fixes #57843 * surrogate_then_replace is default, be less explicit * We only needed to_text for display, not exceptions