Skip to content

sshd.exe missing in git clone repo download  #2353

Open
@lolson27

Description

@lolson27

Prerequisites

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

Steps to Reproduce
🔄 Steps to Reproduce
✅ System Information

  • OS: Windows 10.0.26100.4061
  • Issue: sshd.exe missing from cloned repository, preventing OpenSSH installation.
    ✅ Reproduction Steps
    1️⃣ Open PowerShell as Administrator
    2️⃣ Clone the repository:
    git clone https://github.com/PowerShell/Win32-OpenSSH.git

3️⃣ Navigate to the cloned folder:
cd C:\Windows\System32\Win32-OpenSSH

4️⃣ Copy files to the expected system directory:
Copy-Item -Recurse -Force "C:\Windows\System32\Win32-OpenSSH" "C:\Program Files\OpenSSH"


5️⃣ Attempt to install OpenSSH using PowerShell:
powershell -ExecutionPolicy Bypass -File install-sshd.ps1

Expected Behavior
✅ Expected Behavior:
sshd.exe should be present in C:\Program Files\OpenSSH after executing the installation script in PowerShell, allowing installation to proceed.


Actual Behavior
❌ Actual Behavior:
Only documentation files (e.g., README.md) exist—sshd.exe is missing, preventing installation.



Error Details
PS C:\WINDOWS\system32\Win32-OpenSSH> powershell -ExecutionPolicy Bypass -File install-sshd.ps1
The argument 'install-sshd.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter.

The : The term 'The' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:1

  • The argument 'install-sshd.ps1' to the -File parameter does not exist ...
  •   + CategoryInfo          : ObjectNotFound: (The:String) [], CommandNotFoundException  
      + FullyQualifiedErrorId : CommandNotFoundException  
    
    



Environment Data
PS C:\WINDOWS\system32\Win32-OpenSSH> $PSVersionTable

Name Value


PSVersion 5.1.26100.4061
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.26100.4061
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Version
PSVersion 5.1.26100.4061
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.26100.4061
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Image

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions