Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 746 Bytes

File metadata and controls

9 lines (5 loc) · 746 Bytes

fix_ssh-agent_openssh-portable_win10

I've had ssh-agent go missing from Windows 10 Services after removing the OpenSSH "Optional Feature" from "Apps" and installing openssh-portable. This is a quick script to avoid having to remember how to add the ssh-agent service when this happens. It can probably also be used for just adding the service too if you just unpacked openssh-portable and only wanted ssh-agent (no OpenSSH server).

The package I use this with is the PowerShell openssh-portable repo here: https://github.com/PowerShell/openssh-portable

Instructions

Put this somewhere on your Windows 10 PC, make sure the OpenSSH path (to ssh-agent.exe) works for your system and run it from an elevated (Administrator) PowerShell session.