Step 4. OpenSSH needs sshd and ssh-agent to run. Paste the following command in the PowerShell window: powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1. Then you can receive a message saying: sshd and ssh-agent services successfully installed.