Windows 10: how to use openssh

Discus and support how to use openssh in Windows 10 Software and Apps to solve the problem; how to use openssh step by step process https://answers.microsoft.com/en-us/windows/forum/all/how-to-use-openssh/c39893b9-20dc-42a9-9a65-486aed388d22 Discussion in 'Windows 10 Software and Apps' started by FloraWilson, Apr 22, 2022.

  1. how to use openssh


    how to use openssh step by step process

    :)
     
    FloraWilson, Apr 22, 2022
    #1

  2. OpenSSH server configuration on Windows10

    O.K.,

    It seems I got it working:

    • Do the following as administrator:
      cd to C:\Windows\System32\OpenSSH and execute ssh-keygen -A
      Install-Module -Name OpenSSHUtils -RequiredVersion 0.0.2.0 in a windows-powershell
      Download and unzip OpenSSH-Win64.zip from Release v0.0.15.0 . PowerShell/Win32-OpenSSH . GitHub
      Copy FixHostFilePermissions.ps1 to C:\Windows\System32\OpenSSH
      In a windows-powershell cd to C:\Windows\System32\OpenSSH and execute .\FixHostFilePermissions
      Now the sshd service can be started and -guess what- you can finally ssh to your windows10 computer

    Ain't this genuine pure crap ???
     
    wolfgang6444, Apr 22, 2022
    #2
  3. jimbo45 Win User
    OpenSSH server configuration on Windows10

    Wel done

    Now I'm in the pub for some decent sat Night Drinks.

    Cheers

    jimbo
     
    jimbo45, Apr 22, 2022
    #3
  4. Diapolo10 Win User

    how to use openssh

    Having trouble getting the built-in OpenSSH server to work

    Goal: I'm trying to set up the Windows built-in OpenSSH server (version 0.0.1.0, as I recall that being the latest one) in order to use my desktop PC remotely should I have the need for raw performance when on the road through a Windows
    10 laptop.

    Problem: Despite following
    the official guide
    to the letter, when I try to run "Start-Service sshd" in PowerShell I get this error:

    Code:
        Start-Service : Service 'OpenSSH SSH Server (sshd)' cannot be started due to the following error: Palvelun sshd avaamin    en tietokoneessa . epäonnistui.    At line:1 char:1    + Start-Service sshd    + ~~~~~~~~~~~~~~~~~~        + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],       ServiceCommandException        + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand
    If I run the executable without "Start-Service", however, it runs and seemingly waits for connections, but according to the Services tab in Task Manager it's not actually doing anything at all, nor is there an SSH user account associated
    with it.

    What I've tried:

    • Restarting Windows (after every installation)
    • Uninstalling and re-installing both the server and the client (both from PowerShell and through the Settings application)
    • Switched to local account instead of a Microsoft account (suggested on a forum thread, tried the previous steps again)
    • Using an elevated PowerShell instance with admin rights

    System information:

    • Windows 10 Home, version 1809, build 17763.379
    • Hardware configuration:
      • CPU: i9-9900k @ 4.9GHz
      • RAM: 32GB 3200MHz DDR4
      • GPU: Asus ROG Strix GTX 1080
      • Motherboard: Asus PRIME Z390-A, BIOS version 0805

    Let me know if other information is required.
     
    Diapolo10, Apr 22, 2022
    #4
Thema:

how to use openssh

Loading...
  1. how to use openssh - Similar Threads - openssh

  2. OpenSSH not working after upgrading from Windows 10 to 11

    in Windows 10 Gaming
    OpenSSH not working after upgrading from Windows 10 to 11: I had been using OpenSSH to connect successfully to my computer using ssh keys for a long time. I then upgraded my computer with mostly new hardware which made it compatible with Windows 11, so I installed Windows 11. Now SSH connection attempts timeout and I cannot figure...
  3. OpenSSH not working after upgrading from Windows 10 to 11

    in Windows 10 Software and Apps
    OpenSSH not working after upgrading from Windows 10 to 11: I had been using OpenSSH to connect successfully to my computer using ssh keys for a long time. I then upgraded my computer with mostly new hardware which made it compatible with Windows 11, so I installed Windows 11. Now SSH connection attempts timeout and I cannot figure...
  4. sftp by OpenSSH server on windows 10 doesn't work with multiple drives.

    in Windows 10 Gaming
    sftp by OpenSSH server on windows 10 doesn't work with multiple drives.: I have an openssh server set up on my windows machine. I set up this for the sftp purpose.the trouble is, I cannot access two drives at the same time.At first the sftp would be at the c-drive. but the primary contents that i wanted to access was in E:, and It seemed...
  5. sftp by OpenSSH server on windows 10 doesn't work with multiple drives.

    in Windows 10 Network and Sharing
    sftp by OpenSSH server on windows 10 doesn't work with multiple drives.: I have an openssh server set up on my windows machine. I set up this for the sftp purpose.the trouble is, I cannot access two drives at the same time.At first the sftp would be at the c-drive. but the primary contents that i wanted to access was in E:, and It seemed...
  6. sftp by OpenSSH server on windows 10 doesn't work with multiple drives.

    in Windows 10 Software and Apps
    sftp by OpenSSH server on windows 10 doesn't work with multiple drives.: I have an openssh server set up on my windows machine. I set up this for the sftp purpose.the trouble is, I cannot access two drives at the same time.At first the sftp would be at the c-drive. but the primary contents that i wanted to access was in E:, and It seemed...
  7. OpenSSH Server Install - Event ID 1001

    in Windows 10 Gaming
    OpenSSH Server Install - Event ID 1001: Good morning, I have attempted to install OpenSSH Server but install has failed. I could not identify any errors withing endpoint security, but I was able to identify event ID 1001 within event viewer. I was able to verify that OpenSSH client was installed. - <Event...
  8. OpenSSH Server Install - Event ID 1001

    in Windows 10 Software and Apps
    OpenSSH Server Install - Event ID 1001: Good morning, I have attempted to install OpenSSH Server but install has failed. I could not identify any errors withing endpoint security, but I was able to identify event ID 1001 within event viewer. I was able to verify that OpenSSH client was installed. - <Event...
  9. OpenSSH Server Install - Event ID 1001

    in Windows 10 BSOD Crashes and Debugging
    OpenSSH Server Install - Event ID 1001: Good morning, I have attempted to install OpenSSH Server but install has failed. I could not identify any errors withing endpoint security, but I was able to identify event ID 1001 within event viewer. I was able to verify that OpenSSH client was installed. - <Event...
  10. Windows 11 home Openssh broken

    in Windows 10 Software and Apps
    Windows 11 home Openssh broken: I use Windows 11 Home on a Dell XPC Desktop box, and installed OpenSSH Client using Windows Settings/App/Optional Features process. Loaded AOK, without any raised errors. I went to the MS Settings/Apps/Optional Features and found that it registered the installation as OpenSSH...