microsoft / microsoft/terminal

Unable to specify file for ssh-keygen (can't enter text)

Open
#7,467 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Input Help Wanted Issue-Bug Priority-2 Product-Terminal
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

  1. Open a new powershell shell in Windows Terminal
  2. run the ssh-keygen powershell 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.