windows 10的powershell已经支持open-ssh的功能. 可是运行get-service ssh-agent
彷佛显示的stopped.git
以下:github
PS C:\WINDOWS\system32> get-service ssh-agent Status Name DisplayName ------ ---- ----------- Stopped ssh-agent OpenSSH Authentication Agent
这个时候, 须要执行以下操做:shell
Get-Service | select -property name,starttype Set-Service -Name ssh-agent -StartupType Manual
Start-Service ssh-agent ssh-add PathToYourKey
就能够了.windows
感谢Google和Github! 完整的连接在这里: https://github.com/PowerShell/Win32-OpenSSH/issues/1133ssh