Starting ssh-agent on Windows 10 fails: “unable to start ssh-agent service, error :1058”

后端 未结 3 1367
南笙
南笙 2020-12-22 16:05

When I try to start the ssh-agent on Windows 10 via PowerShell (with elevated right or without) by entering Start-Service ssh-agent I get the error

3条回答
  •  离开以前
    2020-12-22 16:09

    I solved the problem by changing the StartupType of the ssh-agent to Manual via Set-Service ssh-agent -StartupType Manual.

    Then I was able to start the service via Start-Service ssh-agent or just ssh-agent.exe.

提交回复
热议问题