pub fn classify_ssh_error(stderr: &str) -> SshDiagnosisExpand description
Classify stderr from a failed ssh invocation. Substring match, most
specific first: HostKeyChanged and ConnectionRefused are checked
before the more generic Unreachable/PermissionDenied, and
PermissionDenied’s “Permission denied”/“publickey” are checked before
falling back to Other.