PowerShell / PowerShell/Win32-OpenSSH

install-sshd.ps1 script not installed by OpenSSH-Win32-v9.5.0.0.msi

Open
#2,205 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0 - Backlog Issue-Documentation
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Steps to reproduce

I just downloaded OpenSSH-Win32-v9.5.0.0.msi from this github project.

Expected behavior
According to the [instructions](/wiki/Install-Win32-OpenSSH) it should install a script ìnstall-sshd.ps1`.
Actual behavior
When installing OpenSSH with this MSI, it does not install the script install-sshd.ps1. 
I downloaded OpenSSH-Win32.zip from the same place / version, and it contained the missing script. Copying it to `C:\Program Files\OpenSSH` allowed to do the installation as described in the [instructions](/wiki/Install-Win32-OpenSSH). But I think that is not how it is supposed to work in the first place. Can you add it to the MSI file please?
Error details

No response

Environment data
Windows 7

C:\Program Files\OpenSSH>echo $PSVersionTable
$PSVersionTable
Version

9.5.5.0

Visuals

No response

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

Compare the files included by OpenSSH-Win32-v9.5.0.0.msi with OpenSSH-Win32.zip, focusing on install-sshd.ps1 and the Install-Win32-OpenSSH instructions. Trace the MSI packaging configuration and verify that installing the MSI places the script in C:\Program Files\OpenSSH so the documented installation works.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.