Basic SSH Agent on Powershell
These are my notes to use ssh agent on powershell because I need agent forward feature when use ssh
Table of Contents
Commands
Get status
Get-Service -Name ssh-agentChange startup type
Set-Service -Name ssh-agent -StartupType ManualStart service
Start-Service -Name ssh-agentAdd ssh public key to agent
ssh-add path/to/ssh_public_key
ssh-add -LCheck Github
ssh -T git@github.comI 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.