PowerShell / PowerShell/Win32-OpenSSH
ssh-keygen.exe hangs for end user (related to issue #836)
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
I am experiencing the same problem as issue 836.
ssh-keygen -t rsa
hangs at the step "Enter file in which to save the key
(C:\users\XXXX.ssh/id_rsa
or
ssh-keygen -t ecdsa
hangs at the step "Enter file in which to save the key
(C:\users\XXXX.ssh/id_ecdsa
Hitting control-Z will unhang the program, hitting control-C will not.
If I use the -P switch, it still hangs.
The problem is not seen when I run ssh-keygen under cmd.
I suspect the GitHub is not the best forum for this problem - I suspect it is a powershell issue.
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 ssh-keygen -t rsa and ssh-keygen -t ecdsa in PowerShell, then compare them with the same commands under cmd. Read issue #836 and investigate the differing handling of the save-path prompt; done means the commands no longer hang in PowerShell, including when -P is used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100