Skip to content

Instantly share code, notes, and snippets.

@desmondfernando
Created February 12, 2022 23:45
Show Gist options
  • Save desmondfernando/c592d4acf2a6afb21385bc6559488ab1 to your computer and use it in GitHub Desktop.
Save desmondfernando/c592d4acf2a6afb21385bc6559488ab1 to your computer and use it in GitHub Desktop.
# By default the ssh-agent service is disabled. Allow it to be manually started for the next step to work.
# Make sure you're running as an Administrator.
Get-Service ssh-agent | Set-Service -StartupType Manual
# Start the service
Start-Service ssh-agent
# This should return a status of Running
Get-Service ssh-agent
# Now load your key files into ssh-agent
ssh-add ~\.ssh\id_ed25519
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment