PowerShell / PowerShell/Win32-OpenSSH

sshd and ssh-agent not registered on 21H1

Open
#1,794 15 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

"OpenSSH for Windows" version 8.1.0.1

OperatingSystem
Microsoft Windows [version 10.0.19043.964]

What is failing
start-service sshd
start-service ssh-agent

Expected output

Actual output
Start-Service: Cannot find any service with service name 'sshd'.
Start-Service: Cannot find any service with service name 'ssh-agent'.

Remark
ssh client and server installed via Optional features in the settings app

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

Reproduce the failure on Windows 10 version 21H1 using the reported OpenSSH installation and the Start-Service sshd and Start-Service ssh-agent commands. Inspect how the Optional Features installation registers these services; done means both services are present and can be started successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.