Installation/Enabling of SSH-Server not working


  1. mmo
    Posts : 140
    Windows 10
       #1

    Installation/Enabling of SSH-Server not working


    For a project I need SSH (both the client as well as the server) on my local machine. So I did an "add optional feature", picked the SSH client as well as the SSH server and installed both. The installation went smooth, i.e. the progress bar for both reached 100% and I got an "Installed" at the end.

    Now - according to a description I googled I should now see a service "sshd" running. But not so. Also a "Get-Service ssh*" in a PowerShell console yields nothing.

    The folder C:\Windows\System32\OpenSSH should contain all kinds of executables related to the server ssh-agent.exe, sshd.exe, sshd-config, etc.

    but in my case it only holds these 3 files:
    ssh.exe
    sftp.exe
    ssh-keyscan.exe

    Where is all the server code? What am I missing?
    Why does Win10 lie to me and claim that SSH server is installed successfully when it's obviously not?
      My Computer


  2. Posts : 14,022
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #2

    On the Win10 Pro Notebook I'm on now I have these files:
    Installation/Enabling of SSH-Server not working-image.png
    The folder properties does not have Hidden checked.
      My Computers


  3. mmo
    Posts : 140
    Windows 10
    Thread Starter
       #3

    Nevermind - after having located the page Install Win32 OpenSSH . PowerShell/Win32-OpenSSH Wiki . GitHub I removed that Windows built-in stuff again, removed all content from C:\Windows\Syste32\OpenSSH and started over copying the distro referenced from the above website into this folder. By running the 3 powershell scripts that come with it ("install_sshd.pd1", "FixHostFilePermissions.ps1" and "FixUserFilePermissions.ps1") I was up and running SSH (both client and server) in less than 3 minutes!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:14.
Find Us




Windows 10 Forums