microsoft/Terminal

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

Open

#7,467 opened on Aug 30, 2020

View on GitHub
 (9 comments) (1 reaction) (0 assignees)C++ (3,212 forks)batch import
Area-InputHelp WantedIssue-BugPriority-2Product-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (Avg merge 27d 19h) (24 merged PRs in 30d)

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