![]() Run this command in an elevated command prompt: netsh advfirewall firewall add rule name="SSHD Port" dir=in action=allow protocol=TCP localport=22 Microsoft has supplied the following alternative command for PowerShell: Allow the SSH port in Windows Firewall.Finally, open Services (Press the Win R keys and type services.msc in the Run box) and start the sshd service.Now, remove all other permissions to get something like this: Click "Apply" and confirm the operation. Click "Add" and add the permission "Read" for the user "NT Service\sshd".Right-click the ssh_host_ed25519_key file and change its ownership to the sshd service user, e.g. Alternatively, you can perform these steps.That's it! All the required permissions are set. Repair-SshdHostKeyPermission -FilePath C:\Windows\System32\OpenSSH\ssh_host_ed25519_key Open PowerShell as Administrator and execute these commands: Install-Module -Force OpenSSHUtils ![]()
0 Comments
Leave a Reply. |