-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
garbled characters #1768
Comments
@Tancen - Please share sshd server side logs with DEBUG3 enabled. |
@Tancen - What is the ssh server operating system? Is it windows 10 or windows server 2019? |
debug2: load_server_config: filename PROGRAMDATA\ssh/sshd_config |
@bagajjal The ssh server operating system is Windows 10 Pro, Version 10.0.19042.867, 64-bit But, If logged in be before running command 'dir e:', It's well By the way, ssh server shutdown on the session exited when start parameters appended “-E D:\OpenSSH\OpenSSH-Win64\log.txt -ddd” and ssh server running as Windows service. |
@Tancen - It's expcted. |
@bagajjal I am not sure that the problem is around the code page. |
@Tancen - Changing the chcp of the terminal where you execute ssh client doesn't work. You should have the chcp setting at a system level so new cmd.exe gets this setting. |
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)
OpenSSH_for_Windows_8.1p1, LibreSSL 2.9.2
Server OperatingSystem
((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)
Microsoft Windows [Version 10.0.19042.867] x64
Client OperatingSystem
Microsoft Windows [Version 10.0.19042.867] x64
What is failing
ssh client got garbled characters both in win32-openssh, git-scm, linux
Expected output
Actual output
The text was updated successfully, but these errors were encountered: