Problem
When attempting to run eval $(ssh-agent)
:
unable to start ssh-agent service, error :1058
Cause
The ssh-agent
service is disabled.
Solution
Start PowerShell as an Administrator.
Then run Set-Service ssh-agent -StartupType Manual
.
Now try eval $(ssh-agent)
again.