Skip to content

Instantly share code, notes, and snippets.

@VadimBrodsky
Last active February 12, 2019 11:03
Show Gist options
  • Save VadimBrodsky/c94528cf47811772751787c77023cd77 to your computer and use it in GitHub Desktop.
Save VadimBrodsky/c94528cf47811772751787c77023cd77 to your computer and use it in GitHub Desktop.
SSH Agent on Windows

Ensure the ssh-agent is running:

  • Adding your SSH key to the ssh-agent
  • If you are using the Git Shell that's installed with GitHub Desktop, the ssh-agent should be running.
  • If you are using another terminal prompt, such as Git for Windows, you can use the "Auto-launching the ssh-agent" instructions in "Working with SSH key passphrases"
# start the ssh-agent in the background
eval $(ssh-agent -s)
Agent pid 59566
ssh-add ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment