microsoft / microsoft/terminal
Unable to specify file for ssh-keygen (can't enter text)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
Environment
Windows build number: 10.0.18362.0
Windows Terminal version: 1.2.2381.0
ssh-keygen 7.7.2.1
Steps to reproduce
- Open a new powershell shell in Windows Terminal
- run the
ssh-keygenpowershell command.
Expected behavior
When prompted to specify the file to save the key in, I am able to enter text.
Actual behavior
Typing does not produce visible text, and hitting enter does not cause ssh-keygen to continue. I am able to break execution with Control-z, however.
Notes
ssh-keygen behaves as expected when run in a powershell shell in conhost.exe.
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 by reproducing the ssh-keygen prompt in a PowerShell shell inside Windows Terminal, then compare its input behavior with PowerShell in conhost.exe. Investigate the Windows Terminal input path involved when ssh-keygen requests a file name. Done means text can be entered and Enter allows the prompt to continue as it does in conhost.exe.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100