Skip to content

Instantly share code, notes, and snippets.

@projectoperations
Forked from gorbak25/agent.ps1
Created February 26, 2024 02:33
Show Gist options
  • Select an option

  • Save projectoperations/ecdc2825019dc310e1928913808993a8 to your computer and use it in GitHub Desktop.

Select an option

Save projectoperations/ecdc2825019dc310e1928913808993a8 to your computer and use it in GitHub Desktop.
Enable ssh-agent on Windows
# By default the ssh-agent service is disabled. Configure it to start automatically.
# Make sure you're running as an Administrator.
Get-Service ssh-agent | Set-Service -StartupType Automatic
# Start the service
Start-Service ssh-agent
# This should return a status of Running
Get-Service ssh-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment