Skip to content

Localized socket error messages are shown as octal numbers #1654

@driver1998

Description

@driver1998

Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps

Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH

Please answer the following

"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
8.1.0.1

Server OperatingSystem
((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)
N/A

Client OperatingSystem
Windows 10 Build 20190

What is failing
When I try connecting to a non-exist server, I saw some bizarre error messages.

Expected output
The localized message are shown properly, or just show English ones.

Actual output
The localized message are shown as octal representations.

ssh: Could not resolve hostname nanopim4: \262\273\326\252\265\300\325\342\321\371\265\304\326\367\273\372\241\243

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions