These are my notes to use ssh agent on powershell because I need agent forward feature when use ssh
Get-Service -Name ssh-agent
Set-Service -Name ssh-agent -StartupType Manual
Start-Service -Name ssh-agent
ssh-add path/to/ssh_public_key
ssh-add -L
ssh -T [email protected]
I will get Hi your-username! You've successfully authenticated, but GitHub does not provide shell access.
Then configure ./ssh/config
to use forward agent and finally ssh to the server.