To enable ssh-agent and add private key into it:
Set-Service ssh-agent -StartupType Automatic
Start-Service ssh-agent
ssh-add X:\xxx.ed25519
The permission of file X:\xxx.ed25519
need manual tweak before ssh-add:
- Right click
X:\xxx.ed25519
, click "Properties."