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 server not starting in Windows 11

    in Windows 10 Gaming
    OpenSSH server not starting in Windows 11: I have installed and enabled, in principle, the OpenSSH server, according to the instructions that I read in several places for ex. here: https://woshub.com/connect-to-windows-via-ssh/ . When I try to start the server with Start-Service sshdI get 10 times"AVISO: Aguardando...
  3. OpenSSH server not starting in Windows 11

    in Windows 10 Software and Apps
    OpenSSH server not starting in Windows 11: I have installed and enabled, in principle, the OpenSSH server, according to the instructions that I read in several places for ex. here: https://woshub.com/connect-to-windows-via-ssh/ . When I try to start the server with Start-Service sshdI get 10 times"AVISO: Aguardando...
  4. Windows Sandbox on Windows 11 lacks OpenSSH

    in Windows 10 Gaming
    Windows Sandbox on Windows 11 lacks OpenSSH: I upgraded to Windows 11 from 10. When I launch Windows Sandbox, there is no ssh support in it I need ssh to remote-connect to external machines. I see that the OpenSSH folder is missing in the Sandbox C:\Windows\System32\OpenSSH, although it's present in the host machine. In...
  5. Windows Sandbox on Windows 11 lacks OpenSSH

    in Windows 10 Software and Apps
    Windows Sandbox on Windows 11 lacks OpenSSH: I upgraded to Windows 11 from 10. When I launch Windows Sandbox, there is no ssh support in it I need ssh to remote-connect to external machines. I see that the OpenSSH folder is missing in the Sandbox C:\Windows\System32\OpenSSH, although it's present in the host machine. In...
  6. OpenSSH - how to make scp use certificates from ssh-agent

    in Windows 10 Gaming
    OpenSSH - how to make scp use certificates from ssh-agent: Hello. I am using OpenSSH on Windows 11.We are using private key/certificate based authentication not public/private key auth. In Powershell we can use the ssh-add command to add an issued certificate to ssh-agent. For background information we have an issuing authority which...
  7. OpenSSH - how to make scp use certificates from ssh-agent

    in Windows 10 Software and Apps
    OpenSSH - how to make scp use certificates from ssh-agent: Hello. I am using OpenSSH on Windows 11.We are using private key/certificate based authentication not public/private key auth. In Powershell we can use the ssh-add command to add an issued certificate to ssh-agent. For background information we have an issuing authority which...
  8. How to : use scp to append public key from linuxclient to windows server with openssh...

    in Windows 10 Gaming
    How to : use scp to append public key from linuxclient to windows server with openssh...: I am trying to copy a client key from LinuxUbuntu to Windows server as an administrator user. so far i am able to achieve this by using following steps1-4: > Note: I am using bash in linux and powershell 7.3.4 in windows as an administrator.1. Copy the public key from linux...
  9. How to : use scp to append public key from linuxclient to windows server with openssh...

    in Windows 10 Software and Apps
    How to : use scp to append public key from linuxclient to windows server with openssh...: I am trying to copy a client key from LinuxUbuntu to Windows server as an administrator user. so far i am able to achieve this by using following steps1-4: > Note: I am using bash in linux and powershell 7.3.4 in windows as an administrator.1. Copy the public key from linux...
  10. How to : use scp to append public key from linuxclient to windows server with openssh...

    in Windows 10 Network and Sharing
    How to : use scp to append public key from linuxclient to windows server with openssh...: I am trying to copy a client key from LinuxUbuntu to Windows server as an administrator user. so far i am able to achieve this by using following steps1-4: > Note: I am using bash in linux and powershell 7.3.4 in windows as an administrator.1. Copy the public key from linux...