OpenSSH exists but PowerShell cannot see it
Symptom
Get-Command ssh-keygen returns nothing despite OpenSSH being installed.
Resolution
-
Open a fresh PowerShell session after installing OpenSSH.
-
Confirm the OpenSSH install path is on
$env:PATH:$env:PATH -split ';' | Select-String -Pattern 'OpenSSH' -
If not on
$env:PATH, add it manually:$env:PATH += ';C:\Windows\System32\OpenSSH\' -
Restart the terminal.