Windows 10: OpenSSH server configuration on Windows10 .ssh\config

Discus and support OpenSSH server configuration on Windows10 .ssh\config in Windows 10 Network and Sharing to solve the problem; SSH for Windows 10 I get the message "Bad owner or permissions on C: \\ Users \\ nnn / .ssh / config Apart from update no other changes. Does... Discussion in 'Windows 10 Network and Sharing' started by franzda, Feb 17, 2020.

  1. franzda Win User

    OpenSSH server configuration on Windows10 .ssh\config


    SSH for Windows 10

    I get the message "Bad owner or permissions on C: \\ Users \\ nnn / .ssh / config

    Apart from update no other changes.

    Does anyone have any idea what that could be.
    If I delete the config file I get a connection.
    The Config file is required by Visual Studio Code

    Windows 10 / Version 1909 / Build 18363.657
    OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

    :)
     
    franzda, Feb 17, 2020
    #1
  2. jimbo45 Win User

    OpenSSH server configuration on Windows10

    Hi there

    guten Tag @wolfgang6444

    try and browse to the openssh keygen.exe file and double click --this should generate a key for you.


    OpenSSH server configuration on Windows10 .ssh\config [​IMG]


    look at the config file too --open with notepad.

    reboot the Windows machine and then have another go at starting SSHD service -- you might also need to ensure that your user can start services --might need mucking around with secpol --this is an area of Windows though I have almost ZERO experience in.

    I added to my previous post to show how to do it via Putty and SSH (from the Linux Host) as well.

    Both ssh-agent and SSHD services need to be running (my Windows is in icelandic but it shows services running I set to manual for testing).


    OpenSSH server configuration on Windows10 .ssh\config [​IMG]


    Cheers
    jimbo
     
    jimbo45, Feb 17, 2020
    #2
  3. 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, Feb 17, 2020
    #3
  4. jimbo45 Win User

    OpenSSH server configuration on Windows10 .ssh\config

    OpenSSH server configuration on Windows10

    Wel done

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

    Cheers

    jimbo
     
    jimbo45, Feb 17, 2020
    #4
Thema:

OpenSSH server configuration on Windows10 .ssh\config

Loading...
  1. OpenSSH server configuration on Windows10 .ssh\config - Similar Threads - OpenSSH server configuration

  2. 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...
  3. 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...
  4. 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...
  5. OpenSSH Server / client on W2K16 server

    in Windows 10 Virtualization
    OpenSSH Server / client on W2K16 server: Hi there running a W2K16 server as a VM - seems the the optional features install don't include the openSSH server or client -- I'm using the Desktop experience standard edition of W2K16 server However using the powershell command from within the VM both products get...
  6. OpenSSH Server install is stuck

    in Windows 10 Customization
    OpenSSH Server install is stuck: [ATTACH] [ATTACH] Machine is on a domain, thats how it gets logged in. Doesn't that imply that it knows where the WSUS is? Is there another reason? Theres a workaround on github that I'd rather not use. Does anyway know how to make this go?...
  7. Help with OpenSSH configuration

    in Windows 10 Ask Insider
    Help with OpenSSH configuration: So I have been playing with the OpenSSH config wile in windows 10, but I'm stuck on something. I want to make a specific usergroup that has SFTP access only and is locked in to the D: drive of my machine. Everything I see points to this being correct: Match Group sftp...
  8. OpenSSH server configuration on Windows10

    in Windows 10 Network and Sharing
    OpenSSH server configuration on Windows10: I am desperately trying to configure an openSSH-server on windows 10. I have followed serveral online tutorials but always get stuck with the keys. I have generated ssh_host_ed25519_key and ssh_host_ed25519_key.pub in C:\Windows\System32\OpenSSH. But when I try to start...
  9. Install and configure OpenSSH client and server on Windows 10

    in Windows 10 News
    Install and configure OpenSSH client and server on Windows 10: [ATTACH] [ATTACH]The SSH (Secure Shell) protocol works by authenticating a remote user and transferring inputs from the client to the host. It then re-transmits the output back to the client – the communication is delivered encrypted so the security is much [...] This post...
  10. Windows Server 2019 Includes OpenSSH

    in Windows 10 News
    Windows Server 2019 Includes OpenSSH: The OpenSSH client and server are now available as a supported Feature-on-Demand in Windows Server 2019 and Windows 10 1809! The Win32 port of OpenSSH was first included in the Windows 10 Fall Creators Update and Windows Server 1709 as a pre-release feature. In the Windows 10...

Users found this page by searching for:

  1. enable ssh windows 10

    ,
  2. ssh_config windows 10

    ,
  3. install-module opensshutils all users force scope

    ,
  4. windows ssh server standalone,
  5. start ssh server windows 10 1909,
  6. ssh_config windows 10 pro