Skip to content

SSH agent (PowerShell) ​

powershell
# start agent if needed, then add your key
eval "$(ssh-agent -s)"   # in Git Bash / WSL-style shells
ssh-add ~/.ssh/your_key

On pure PowerShell with OpenSSH:

powershell
Get-Service ssh-agent | Set-Service -StartupType Manual
Start-Service ssh-agent
ssh-add $env:USERPROFILE\.ssh\your_key

List keys:

powershell
ssh-add -l