openssh windows bad owner or permissions

This started popping up immediately after I created another user with Administrator privileges, and that account began inheriting access to my .ssh folder. You do not need to change your permissions whatsoever. Just go to .ssh, right-click Properties, Security Tab, Advanced. DISABLE INHERITANCE, then click on the Administrator user (the one that is not you) … Read more

Setting up OpenSSH for Windows using public key authentication

Following are setup steps for OpenSSH shipped with Windows 10 v.1803 (April 2018 update. See comments to this post, it might not work with 1809). Server setup (elevated powershell): Install OpenSSH server: Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0. Start agent and sshd services: Start-Service ssh-agent; Start-Service sshd (this will generate host keys and default configuration automatically in … Read more