

The authorized_keys file and keys are stored in a directory: %USERPROFILE%\.ssh\.Log file: c:\windows\system32\OpenSSH\logs\sshd.log.The sshd_config configuration file is located in C:\ProgramData\ssh (this directory is created after the first start of the sshd service).OpenSSH executables are located in the directory: c:\windows\system32\OpenSSH\.Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'


Add-WindowsCapability -Online -Name OpenSSH.Server*ĭism /Online /Add-Capability /CapabilityName:OpenSSH.Server~~~~0.0.1.0Īlso, you can install OpenSSH server from Windows 10 GUI ( Settings -> Apps -> Optional Features -> Add a feature -> Open SSH Server -> Install).
