PowerShell / PowerShell/Win32-OpenSSH
SSH client crash problem
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
Client Test OS:Win8.1,Win2k8R2
ssh version:v8.1.0.0p1-Beta
Problem: crash
Steps:
1,
reference:https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH
The following items have been set:



2,
Test animation, select any area, press enter, crash
GIF:

3,
Environment variable PATH append path C:\Program Files\OpenSSH
Execute ssh in other path, error message:
The system cannot write to th specified device

4,
Execute chcp 437 first, and then follow step 2 to test without crash

5,
I compiled the latest source code (https://github.com/PowerShell/openssh-portable) to test the same problem as above
1,The system defaults to 936. Is there any solution if it is not changed to 437?
2,How to solve the fourth problem?
3,After testing, the third problem is also related to the code page
thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ssh command on Windows 8.1 or Windows Server 2008 R2 using code pages 936 and 437, and reproduce the crash after selecting an area and pressing Enter. Compare this with running ssh from another path after adding C:\Program Files\OpenSSH to PATH; done means the crash and related code-page behavior are isolated and reproducible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli, networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100