Problem
Install OpenSSH in Windows 10.
Solution
Run PowerShell as Administrator.
Check OpenSSH packages:
1Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
Output:
Name : OpenSSH.Client~~~~0.0.1.0 State : NotPresent Name : OpenSSH.Server~~~~0.0.1.0 State : NotPresent
Install OpenSSH:
Set up SSH agent in WSL2 if needed.